Skip to content

Instantly share code, notes, and snippets.

@abdennebi
Created May 29, 2012 12:54
Show Gist options
  • Save abdennebi/2828230 to your computer and use it in GitHub Desktop.
Save abdennebi/2828230 to your computer and use it in GitHub Desktop.
GWT Compiler Options
Source : https://developers.google.com/web-toolkit/doc/latest/DevGuideCompilingAndDebugging
java -cp gwt-dev.jar com.google.gwt.dev.Compiler
Missing required argument 'module[s]'
Google Web Toolkit 2.3.0
Compiler [-logLevel level] [-workDir dir] [-gen dir] [-style style] [-ea] [-XdisableClassMetadata] [-XdisableCastChecking] [-validateOnly] [-draftCompile] [-optimize level] [-compileReport] [-strict] [-localWorkers count] [-war dir] [-deploy dir] [-extra dir] module[s]
where
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
-gen Debugging: causes normally-transient generated types to be saved in the specified directory
-style Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF)
-ea Debugging: causes the compiled output to check assert statements
-XdisableClassMetadata EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName())
-XdisableCastChecking EXPERIMENTAL: Disables run-time checking of cast operations
-validateOnly Validate all source code, but do not compile
-draftCompile Enable faster, but less-optimized, compilations
-optimize Sets the optimization level used by the compiler. 0=none 9=maximum.
-compileReport Create a compile report that tells the Story of Your Compile
-strict Only succeed if no input files have errors
-localWorkers The number of local workers to use when compiling permutations
-war The directory into which deployable output files will be written (defaults to 'war')
-deploy The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
-extra The directory into which extra files, not intended for deployment, will be written
and
module[s] Specifies the name(s) of the module(s) to compile
@abdennebi
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment