package com.itmill.toolkit.launcher;\r
\r
-import com.google.gwt.dev.Compiler;\r
+import com.google.gwt.dev.GWTCompiler;\r
\r
/**\r
* A wrapper for the GWT 1.6 compiler that runs the compiler in a new thread.\r
* stack size for the main thread. Thus, larger widgetsets can be compiled.\r
* \r
* This class takes the same command line arguments as the\r
- * com.google.gwt.dev.Compiler class.\r
+ * com.google.gwt.dev.GWTCompiler class. The old and deprecated compiler is used\r
+ * for compatibility with GWT 1.5.\r
* \r
* A typical invocation would use e.g. the following arguments\r
* \r
- * "-workDir WebContent/ITMILL/widgetsets com.itmill.toolkit.terminal.gwt.DefaultWidgetSet"\r
+ * "-out WebContent/ITMILL/widgetsets com.itmill.toolkit.terminal.gwt.DefaultWidgetSet"\r
* \r
* In addition, larger memory usage settings for the VM should be used, e.g.\r
* \r
\r
Runnable runCompiler = new Runnable() {\r
public void run() {\r
- Compiler.main(args);\r
+ GWTCompiler.main(args);\r
}\r
};\r
Thread runThread = new Thread(runCompiler);\r