开发者

How should I build a GWT application to a WAR file

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 peopl开发者_Python百科e have found (hopefully with an example) such as an Ant xml or any other GWT specific tools?


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/


You could look into the GWT maven plugin.

If you're new to GWT or Maven, you might want to first read the GWT documentation and get more familiar with Maven by reading at least its getting started guide or by reading the online reference book.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜