Sunday, June 30, 2013

Re: gwt maven archetype - When to run Package


On Saturday, June 29, 2013 1:35:48 AM UTC+2, Kathiravan Tamilvanan wrote:
Hi,
 I am running the steps described here https://github.com/tbroyer/gwt-maven-archetypes. But the compiled client code (nocache.js) is not deployed to the server when i run the tomcat:run. I had to run the mvn package. Is there any way to automate this step. 
 I have also tried tomcat:run-war but no luck.
 This is confusing to know whether the compiled client code in the server war folder is current or not.

The steps describe how to run DevMode, so they disable GWT compilation; and tomcat:run has a bug with overlay wars: https://issues.apache.org/jira/browse/MTOMCAT-148

I haven't tried it but "mvn tomcat7:run-war" should work, if you disable the dev profile. 

--
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/groups/opt_out.
 
 

No comments:

Post a Comment