Tuesday, May 9, 2017

Re: Multiple GWT modules in one Maven module



On Tuesday, May 9, 2017 at 12:59:17 PM UTC+2, Thomas Broyer wrote:

I wouldn't put any <moduleName> / <moduleShortName> into the plugin-level <configuration>, and only put them into the <executions>.

That's what I figured, but it seems to be a required property (The parameters 'moduleName' for goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-7:compile are missing or invalid, when invoking gwt:compile).

I defined my executions as per your example:
<configuration>
   
<localWorkers>6</localWorkers>
   
<skipModule>true</skipModule>
   
<draftCompile>true</draftCompile>
</configuration>
<executions>
   
<execution>
       
<id>compile-common</id>
       
<goals><goal>compile</goal></goals>
       
<configuration>
           
<moduleName>com.test.common</moduleName>
       
</configuration>
   
</execution>

etc.. but it appears the executions aren't triggered (or is this an effect of the missing moduleName under configuration?). It seems I have much to learn still.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment