How should I build a GWT application to a WAR file

antgwtwar

I have a GWT application that I need to deploy from a WAR file. I've got it kinda working using export to WAR option in Eclipse but after I deploy all of images in the application just show as missing image icon, and besides when we have multiple developers it is not nice to build from IDE this way.

I am looking for if there is a best way to script the build process that people have found (hopefully with an example) such as an Ant xml or any other GWT specific tools?

Best Answer

This tutorial provides step by step instructions for writing an ant script to build the war file including GWT specific compile steps and where/how to package static resources such as images.

http://www.rubiconred.com/blog/build-package-a-gwt-app-to-war-using-ant/

Related Topic