Philippe,

I have found a way to use the src/main/gwt folder work seamless between m2e, 
GPE and maven-gwt-plugin. 

When using this method src/main/gwt shows up in Eclipse as a src folder and 
nothing is excluded.  Also doing a gwt:compile and gwt:run from the command 
line worked  fine as well.  You can safely put your .gwt.xml files in this 
folder and even GPE will be able find them.

Add the following to your build plugins and make sure to install the m2e 
configurator for the plugin as well.

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/gwt</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/M__Im6L2MuwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to