What files do I need to have to deploy a GWT web app to Tomcat, preferably in a War?
Can't quite distinguish if Build.xml is actually needed when there is alread开发者_如何学编程y a 'war' folder when you create a new app via the wizard in Eclipse.
Can someone advise?
With recent versions of GWT (1.6 and up, maybe even 1.5) you only need to include what's in the war
folder. You can just war up that folder (zip it up and give it a .war
extension).
If you're using the Google Plugin for Eclipse, you may even be able to try right-clicking on the project and selecting "Export -> WAR" (I'm not really sure about this though, I'll verify when I get into work, in about an hour).
You definitely do not need build.xml
in there.
精彩评论