Eclipse Google Web Toolkit plugin fails to find .gwt.xml file due to project's
exclusion filter on src/main/resources
---------------------------------------------------------------------------------------------------------------------
Key: MGWT-255
URL: http://jira.codehaus.org/browse/MGWT-255
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.1.0
Environment: Windows 7 Professional, Java 1.6.0_17, Eclipse Helios,
m2eclipse, GWT Maven Plugin
Reporter: Dennis
I cannot select "Run As | Web Application" as suggested by
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/hosted.html because the
GWT Plugin does not find the .gwt.xml file due to project's exclusion filter on
src/main/resources.
I have created a GWT application using the GWT Maven Plugin (using mvn
archetype:generate -DarchetypeRepository=repo1.maven.org
-DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin
-DarchetypeVersion=2.1.0-1) and imported it into Eclipse (using "Import
existing Maven projects").
To make it work, I first had to manually enable "Use Google Web Toolkit" in the
project's settings (under Google | Web Toolkit). Then, the Google plugin did
not find any GWT-Modules. It worked after removing the "*" exclude filter in
the Build path for src/main/resources.
--
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