Thursday, September 16, 2010

gwt-maven-plugin: include files from src/main/test for gwt:debug

Dear mailinglist,

I need to include classes located in the src/main/test folder to be
compiled with the other classes in the src/main/java folder when I
start my project with gwt:debug.

Is there any way to configure a second source folder for the
compilation process with the gwt-maven-plugin?

I've tried already the resource tag, but it only includes the raw java
files in the war/WEB-INF/classes directory.
<resources>
<resource>
<directory>src/test/java</directory>
<includes>
<include>**/*.java</include>
<include>**/*.gwt.xml</include>
</includes>
</resource>
</resources>

The compiler finds my Test.gwt.xml tough, because it is copied in the
war/WEB-INF/classes with this command.

Does anybody have an idea? Thanks in advance!

Bye Thalles

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

No comments:

Post a Comment