Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I build a GWT application to a WAR file

Tags:

war

ant

gwt

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?

like image 841
user724616 Avatar asked Apr 26 '11 02:04

user724616


1 Answers

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/

like image 58
Josh Avatar answered Oct 10 '22 05:10

Josh