]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added debug messages
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 15 Dec 2009 15:04:23 +0000 (15:04 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 15 Dec 2009 15:04:23 +0000 (15:04 +0000)
svn changeset:10324/svn branch:6.2

src/com/vaadin/tools/WidgetsetCompiler.java

index 4d809a470f8434df0a2c68ac61493db63bbe054a..246a461e4b7a170815eb87416a1b220cfa8646f6 100644 (file)
@@ -6,22 +6,22 @@ import com.vaadin.terminal.gwt.widgetsetutils.WidgetSetBuilder;
 \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
@@ -51,8 +51,12 @@ public class WidgetsetCompiler {
 \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