Monday, May 9, 2011

Re: use gwt EntryPoint from jar



On Monday, May 9, 2011 10:23:25 AM UTC+2, mnenchev wrote:
Thanks,

or the other way is to build the gwt output in jar and when i am building my war project to take the output from this jar and place it in the war file. Any ideas for this?

That's basically what I do, except that I create a ZIP instead of a JAR, which I use as a WAR overlay: use the maven-assembly-plugin to build your ZIP in the package phase, after GWT compilation.
Also, make sure you have all your dependencies (gwt-user, gwt-google-apis and the like) set as <scope>provided</scope> in the POM for your GWT project, otherwise the JARs will end up into your WAR.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate