summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2009-05-19 07:49:19 +0000
committerHenri Sara <henri.sara@itmill.com>2009-05-19 07:49:19 +0000
commit02a03011b4c6c3dc5653f4b906ab6420c91270cc (patch)
tree36b3f78ce0104c5e0aeab4b3fd9d1cc3a35cee01
parent00d93cfaaa0a740ec4d0984fe6cdecf9fdb80f54 (diff)
downloadvaadin-framework-02a03011b4c6c3dc5653f4b906ab6420c91270cc.tar.gz
vaadin-framework-02a03011b4c6c3dc5653f4b906ab6420c91270cc.zip
Moved WidgetsetCompiler and avoid GWT warning in it
svn changeset:7870/svn branch:6.0
-rw-r--r--src/com/vaadin/tools/WidgetsetCompiler.java (renamed from src/com/vaadin/launcher/WidgetsetCompiler.java)4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/vaadin/launcher/WidgetsetCompiler.java b/src/com/vaadin/tools/WidgetsetCompiler.java
index 09dfce3f27..0421164873 100644
--- a/src/com/vaadin/launcher/WidgetsetCompiler.java
+++ b/src/com/vaadin/tools/WidgetsetCompiler.java
@@ -1,4 +1,4 @@
-package com.vaadin.launcher;
+package com.vaadin.tools;
import java.lang.reflect.Method;
@@ -43,6 +43,8 @@ public class WidgetsetCompiler {
public void run() {
try {
// GWTCompiler.main(args);
+ // avoid warnings
+ System.setProperty("gwt.nowarn.legacy.tools", "true");
Class<?> compilerClass = Class
.forName("com.google.gwt.dev.GWTCompiler");
Method method = compilerClass.getDeclaredMethod("main",