Pages

Wednesday, June 29, 2011

GWT and Maven support

If you want to generate a new GWT application and use maven instead of ant just add -maven parameter to command line.

webAppCreator -maven -out MyWebApp com.mycompany.mywebapp.MyWebApp

The application with maven support will be generated and you can use commands like:

mvn clean       # delete temporary stuff
mvn test          # run all the tests (gwt and junit)
mvn gwt:run       # run development mode
mvn gwt:compile   # compile to javascript
mvn package       # generate a .war package ready to deploy

0 comments:

Post a Comment