Browse Source

Moved WidgetsetCompiler and avoid GWT warning in it


svn changeset:7870/svn branch:6.0
tags/6.7.0.beta1
Henri Sara 15 years ago
parent
commit
02a03011b4
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/com/vaadin/tools/WidgetsetCompiler.java

src/com/vaadin/launcher/WidgetsetCompiler.java → src/com/vaadin/tools/WidgetsetCompiler.java View 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",

Loading…
Cancel
Save