We decided to use gwt modules in our application about a week ago. We are using the gwt-maven-eclipse trio, and we have already set up the phases and goals. We also deploy context to reduce development and testing time.
BUT;
When we package or tomcat:deploy our application, the gwt re-compiling (including immutable ones).
<set-property name="user.agent" value="gecko1_8"></set-property> <extend-property name="locale" values="en_UK"></extend-property>
I already set these properties here to speed up compilation time, but that is not what I want for sure ... I also configured the maven lifecycle display in eclipse to run gwt:compile process-resources resources:testResources when any resources change. But it blocks eclipse, and that also did not help compile the time.
This is the gwt-maven-plugin configuration in pom.xml
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>2.3.0</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <configuration> <runTarget>A.jsp</runTarget> <runTarget>B.jsp</runTarget> <hostedWebapp>${webappDirectory}</hostedWebapp> </configuration> </plugin>
Any idea to help me?
source share