New Grails GWT Plugin
Groovy Batchfile Java Shell
Pull request Compare This branch is 81 commits ahead, 1 commit behind simplicityitself:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
grails-app/conf
lib/gwt
scripts
src
web-app/WEB-INF
wrapper
.gitignore
.travis.yml
GwtGrailsPlugin.groovy
LICENSE
README.md
application.properties
grailsw
grailsw.bat
travis-build.sh

README.md

Grails GWT Plugin

Build Status Analytics

Introduction

The Google Web Toolkit (GWT) is an advanced AJAX framework that allows you to develop rich user interfaces in Java, thus taking advantage of type-checking and code re-use. GWT will then compile your Java code and generate fast, cross-platform Javascript that can be included in any web page you choose. The plugin makes it easy to incorporate GWT code into your GSP pages, and it also simplifies the handling of RPC requests on the server. If you have not used GWT before, please read the documentation on the GWT website.

Configuration

The following configuration options are available (e.g. by adding some or all of them to your BuildConfig.groovy):

Key gwt.version
Type String
Default null
Description GWT version used in application.
Key gwt.gin.version
Type String
Default null
Description Version of Google GIN (GWT INjection). Guice dependency injection to GWT client-side code.
Key gwt.gwtp.version
Type String
Default null
Description Version of GWTP (gwt-platform). A complete model-view-presenter framework.
Key gwt.guava.version
Type String
Default null
Description Version of Guava. Google Core Libraries for GWT.
Key gwt.eventbinder.version
Type String
Default null
Description Version of EventBinder. Making GWT EventBus easy.
Key gwt.dependencies
Type List<String>
Default null
Description A list of dependencies to import as GWT module dependencies. Uses the same format as in BuildConfig.groovy.

Compile parameters

Key gwt.local.workers
Type Integer
Default null
Description Number of parallel processes used to compile GWT premutations. Defaults to platform available processors number.
Key gwt.compile.draft
Type Boolean
Default false
Description Enable faster, but less-optimized, compilations. This is equivalent to gwt.compile.optimizationLevel=0 plus gwt.compile.aggressiveOptimization=false.
Key gwt.compile.report
Type Boolean
Default false
Description Compile a report that tells the "Story of Your Compile".
Key gwt.compile.optimizationLevel
Type Integer
Default null
Description Sets the optimization level used by the compiler. 0=none 9=maximum. -1 uses the default level of the compiler.
Key gwt.compile.logLevel
Type String
Default null
Description GWT logging level, either ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL.
Key gwt.compile.classMetadata
Type Boolean
Default true
Description EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName()).
Key gwt.compile.castChecking
Type Boolean
Default true
Description EXPERIMENTAL: Disables run-time checking of cast operations.
Key gwt.compile.aggressiveOptimization
Type Boolean
Default true
Description Deprecated. since 2.6.0-rc1
Key gwt.compile.jsInteropMode
Type String
Default NONE
Description EXPERIMENTAL: Specifies JsInterop mode, either NONE, JS, or CLOSURE.