saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

Include src/main/webapp as classpath #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this Maven 1 or Maven 2?

This is maven2

What steps will reproduce the problem?
1. add Module.gwt.xml, client and public under src/main/webapp
2. build the project
3. the GWT code will not available in the war file

What is the expected output? What do you see instead?
The /src/main/webapp should be included. It is not.

What version of the product are you using? On what operating system?
GWT 1.4.61 on Mac OS X

Please provide any additional information below.

Original issue reported on code.google.com by sna...@gmail.com on 9 Apr 2008 at 6:44

GoogleCodeExporter commented 9 years ago
src/main/webapp should have WEB stuff, such as WEB-INF and so on, module file 
and
public should be in resources. No?

Original comment by charlie....@gmail.com on 14 Apr 2008 at 1:04

GoogleCodeExporter commented 9 years ago
After understanding this a bit more based on comments in the group, this is an
embedded Tomcat (hosted mode) issue relating to a resource file needed by 
Spring. 
Gwt:war works, gwt:gwt has issues. 

We need to work on making adding extra resources to the embedded Tomcat easier 
(and
more fully understand exactly what is and is not present there) - and we 
already have
an issue for this - issue 82.  

Closing this as a dupe of 82, but if this is not related to hosted mode, please
advise and I will re-open. 

Original comment by charlie....@gmail.com on 14 Apr 2008 at 1:36

GoogleCodeExporter commented 9 years ago
This is a simple issue.

The GWT java files generate, javascript code. 

Typically the javascript code is kept under src/main/webapp directory.

If I keep GWT files under src/main/webapp, the gwt-maven plugin doesn't pick 
them. 

It should be pick the xml and java files under src/main/webapp and generate the 
js files.

Original comment by sna...@gmail.com on 17 Apr 2008 at 5:27