Eclipse build directory setup is incorrect
------------------------------------------

                 Key: MGWT-281
                 URL: http://jira.codehaus.org/browse/MGWT-281
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 2.2.0
         Environment: eclipse 3.6, jdk 1.6, win7 64b, Google plugin for eclipse 
3.6, Google Web toolit SDK 2.2.0,m2eclipse 0.12.1
            Reporter: Jean Helou
            Priority: Minor


I followed http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html .
Then in a fresh workspace with the  above configuration (latest version of 
everything I could find) right click-> import -> Maven -> Existing Maven 
project.
Once the project is fully imported, the Google plugin doesn't see the Module 
file. Try right clicking on the project -> google -> Gwt compile and the module 
list is empty

Move the Module file to src/main/java/${package}/ instead of 
src/main/resources/${package} and the plugin finds the modules again.
A lookup for this bug in the gwt issue tracked yields 
http://code.google.com/p/google-web-toolkit/issues/detail?id=3759 in which it 
is stated that for the plugin to be able to see the file, one needs to remove 
the ** regexp set in the "excluded" section of the src/main/resources/ in the 
java build path. 

Since the Java Build path is maintained by m2eclipse this workaround only works 
until m2eclipse updates the project configuration. 
I am not exactly sure how to configure my pom to handle this,and I would expect 
it to be automatically setup when using archetype genertion.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to