Asked by
Vasu Dev J
in
Computers & Technology
at
7:32 PM on January 29, 2009
Keshto Patel's Answer
Google Web Toolkit (GWT) is an open source Java software development framework that allows web developers to create Ajax applications in Java. Other than a few native libs, everything is Java source that can be built on any supported platform with the included GWT Ant build files. It is licensed under the Apache License version 2.0.
GWTCompiler supports a set of useful command-line options. They’re described in table 1:
GWTCompiler [-logLevel level] [-gen dir] [-out dir] [-treeLogger] [-style style] module
Table 1 GWTCompiler parameters
Option Description
- logLevel The logging level: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-gen The directory into which generated files will be written for review
-out The directory to which output files will be written (defaults to the current directory)
-treeLogger Logs output in a graphical tree view
-style The script output style: OBF[uscated], PRETTY, or DETAILED(defaults to OBF)
module The name of the module to compile
The -gen and -out command-line options specify where generated files and the final output directory are to be, respectively. And -logLevel, as in the case of GWTShell, is used to indicate the level of logging performed during the compilation. You can even use the -treeLogger option to bring up a window to view the hierarchical logging information you would see in the shell’s console display.
The GWT compiler supports several styles of output, each of use in looking at how your code is executing in the browser.
http://java.dzone.com/n ews/understanding-gwt-compiler
Answered at
8:11 PM on January 29, 2009
Read all answers