(Quick Reference)

4 Compilation - Reference Documentation

Authors: Peter Ledbrook, David Dawson, Rob Purcell, Predrag Knežević

Version: 1.0.3

4 Compilation

The plugin will automatically compile your GWT modules the first time that you perform a normal Grails compile, for example via grails compile or grails run-app . Once a module has been compiled, however, it will not be compiled again in development mode. This is fine if you are using GWT's hosted mode to test your application, but any changes will not be picked up when using a standard browser. So, if you want to test the latest changes in development with a normal browser, you can manually compile the GWT modules with this command:

grails compile-gwt-modules

Creating a WAR

This is as simple as running the normal Grails command:

grails war

The plugin will ensure that the GWT modules are re-compiled before everything is packaged up in the WAR file. Once that's done, you can deploy your web application to any servlet container as normal.

This is as simple as running the normal Grails command:

grails war The plugin will ensure that the GWT modules are re-compiled before everything is packaged up in the WAR file. Once that's done, you can deploy your web application to any servlet container as normal.