We're working on a large scale project with GWT and Maven as it's build system
For every application sub system, we've created a separated GWT module.
Each module, is a simple jar with gwt module xml with the following maven config (for example):
Each module, is a simple jar with gwt module xml with the following maven config (for example):
<artifactId>events</artifactId>
<packaging>jar</packaging>
<dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>i18n</goal>
</goals>
</execution>
</executions>
<configuration>
<i18nMessagesBundles>
...
</i18nMessagesBundles>
</configuration>
</plugin>
</plugins>
</build>
There is also one central module that contains the EntryPoint and depends on the other modules.
I have a problem, every time I try to compile an application module with i18n goal, I get an error, duplicate class, which relates to a Message interface (I get an error for each Message interface in that module).
Am I doing something wrong? should the i18n goal be activated in the application module?
Thank you,
Gilad
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/-/4PNBQ_wv4QwJ.
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