Tuesday, November 4, 2014

Re: Module source element includes all subfolders

Looks like it's a bug in gwt-maven plugin.

See also:
MGWT-347

https://github.com/gwt-maven-plugin/gwt-maven-plugin/blob/gwt-maven-plugin-2.5.1/src/main/java/org/codehaus/mojo/gwt/GwtModule.java
https://github.com/gwt-maven-plugin/gwt-maven-plugin/blob/gwt-maven-plugin-2.5.1/src/main/java/org/codehaus/mojo/gwt/GwtResourcesBaseMojo.java

I made a PR to update the documentation of the plugin:
https://github.com/gwt-maven-plugin/gwt-maven-plugin/pull/103

On Monday, November 3, 2014 7:39:21 PM UTC-6, Shannon Carey wrote:
In 2.5.1, I can't figure out how to include certain source files in a module without the Maven GWT compiler also including sources in all subpackages. It seems to ignore the <include> elements, and instead includes all. Is there some trick to this?

For example, if I have:
<source path="model">
  <include name="A.java'/>
</source>

I will also get model/B.java and model/other/C.java

Thanks!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment