]> source.dussan.org Git - vaadin-framework.git/commitdiff
#2891: make the GWT compiler wrapper GWT 1.5 -compatible
authorHenri Sara <henri.sara@itmill.com>
Tue, 5 May 2009 10:59:37 +0000 (10:59 +0000)
committerHenri Sara <henri.sara@itmill.com>
Tue, 5 May 2009 10:59:37 +0000 (10:59 +0000)
svn changeset:7622/svn branch:6.0

src/com/itmill/toolkit/launcher/WidgetsetCompiler.java

index dd782f5080dfe0adfc53203198f63511f1514cbf..389aacaee34b670f8bd2e1d221307a786e5e3922 100644 (file)
@@ -1,6 +1,6 @@
 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
@@ -9,11 +9,12 @@ import com.google.gwt.dev.Compiler;
  * 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
@@ -40,7 +41,7 @@ public class WidgetsetCompiler {
 \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