\r
/**\r
* A wrapper for the GWT 1.6 compiler that runs the compiler in a new thread.\r
- *\r
+ * \r
* This allows circumventing a J2SE 5.0 bug (6316197) that prevents setting the\r
* stack size for the main thread. Thus, larger widgetsets can be compiled.\r
- *\r
+ * \r
* This class takes the same command line arguments as the\r
* com.google.gwt.dev.GWTCompiler class. The old and deprecated compiler is used\r
* for compatibility with GWT 1.5.\r
- *\r
+ * \r
* A typical invocation would use e.g. the following arguments\r
- *\r
+ * \r
* "-out WebContent/VAADIN/widgetsets com.vaadin.terminal.gwt.DefaultWidgetSet"\r
- *\r
+ * \r
* In addition, larger memory usage settings for the VM should be used, e.g.\r
- *\r
+ * \r
* "-Xms256M -Xmx512M -Xss8M"\r
- *\r
+ * \r
* The source directory containing widgetset and related classes must be\r
* included in the classpath, as well as the gwt-dev-[platform].jar and other\r
* relevant JARs.\r
\r
// TODO expecting this is launched via eclipse WTP\r
// project\r
+ System.out\r
+ .println("Updating GWT module description file...");\r
WidgetSetBuilder.updateWidgetSet(wsname);\r
+ System.out.println("Done.");\r
\r
+ System.out.println("Starting GWT compiler");\r
System.setProperty("gwt.nowarn.legacy.tools", "true");\r
Class<?> compilerClass = Class\r
.forName("com.google.gwt.dev.GWTCompiler");\r