diff options
author | Henri Sara <henri.sara@itmill.com> | 2009-05-05 10:59:37 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2009-05-05 10:59:37 +0000 |
commit | f96cea9dbeb8080cdac05b9d2e72650404fd90ec (patch) | |
tree | af87f47bdf1d30954ee0217cacaabe87ba022d65 | |
parent | 4f721b98fdd50c7557d10909b815fdf4c32a96dc (diff) | |
download | vaadin-framework-f96cea9dbeb8080cdac05b9d2e72650404fd90ec.tar.gz vaadin-framework-f96cea9dbeb8080cdac05b9d2e72650404fd90ec.zip |
#2891: make the GWT compiler wrapper GWT 1.5 -compatible
svn changeset:7622/svn branch:6.0
-rw-r--r-- | src/com/itmill/toolkit/launcher/WidgetsetCompiler.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/launcher/WidgetsetCompiler.java b/src/com/itmill/toolkit/launcher/WidgetsetCompiler.java index dd782f5080..389aacaee3 100644 --- a/src/com/itmill/toolkit/launcher/WidgetsetCompiler.java +++ b/src/com/itmill/toolkit/launcher/WidgetsetCompiler.java @@ -1,6 +1,6 @@ package com.itmill.toolkit.launcher;
-import com.google.gwt.dev.Compiler;
+import com.google.gwt.dev.GWTCompiler;
/**
* A wrapper for the GWT 1.6 compiler that runs the compiler in a new thread.
@@ -9,11 +9,12 @@ import com.google.gwt.dev.Compiler; * 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.Compiler class.
+ * 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
*
- * "-workDir WebContent/ITMILL/widgetsets com.itmill.toolkit.terminal.gwt.DefaultWidgetSet"
+ * "-out WebContent/ITMILL/widgetsets com.itmill.toolkit.terminal.gwt.DefaultWidgetSet"
*
* In addition, larger memory usage settings for the VM should be used, e.g.
*
@@ -40,7 +41,7 @@ public class WidgetsetCompiler { Runnable runCompiler = new Runnable() {
public void run() {
- Compiler.main(args);
+ GWTCompiler.main(args);
}
};
Thread runThread = new Thread(runCompiler);
|