Class WidgetsetCompiler
java.lang.Object
com.vaadin.tools.WidgetsetCompiler
public class WidgetsetCompiler- extends Object
A wrapper for the GWT 1.6 compiler that runs the compiler in a new thread.
This allows circumventing a J2SE 5.0 bug (6316197) that prevents setting the
stack size for the main thread. Thus, larger widgetsets can be compiled.
This class takes the same command line arguments as the
com.google.gwt.dev.GWTCompiler class. The old and deprecated compiler is used
for compatibility with GWT 1.5.
A typical invocation would use e.g. the following arguments
"-out WebContent/VAADIN/widgetsets com.vaadin.terminal.gwt.DefaultWidgetSet"
In addition, larger memory usage settings for the VM should be used, e.g.
"-Xms256M -Xmx512M -Xss8M"
The source directory containing widgetset and related classes must be
included in the classpath, as well as the gwt-dev-[platform].jar and other
relevant JARs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetsetCompiler
public WidgetsetCompiler()
main
public static void main(String[] args)
- Parameters:
args
- same arguments as for com.google.gwt.dev.Compiler