Moved WidgetsetCompiler and avoid GWT warning in it

svn changeset:7870/svn branch:6.0
This commit is contained in:
Henri Sara 2009-05-19 07:49:19 +00:00
parent 00d93cfaaa
commit 02a03011b4

Vedi File

@ -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",