How should I create a GWT application in a WAR file

I have a GWT application that I need to deploy from a WAR file. I have this kind of work using the export to WAR option in Eclipse, but after I have expanded all the images in the application, I just show as the icon for the missing image, and besides, when we have several developers, itโ€™s not so just build from an IDE.

I'm looking if there is a better way to script the build process that people have found (hopefully with an example) like Ant xml or any other special GWT tools?

+6
source share
2 answers

This tutorial provides step-by-step instructions for writing an ant script file to create a war file, including specific GWT compilation steps, and where / as a package of static resources such as images.

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

+6
source

You can look into the GWT maven plugin .

If you are new to GWT or Maven, you can first read the GWT documentation and get to know Maven by reading at least his getting started guide or by reading the help system.

+1
source

Source: https://habr.com/ru/post/886674/


All Articles