From eebf12833e059de5caf3dc52ef0ed7ed67fde177 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 6 Oct 2009 07:58:36 +0000 Subject: widget packaging svn changeset:9093/svn branch:2009-09-widget-packaging_3332 --- src/com/vaadin/tools/WidgetsetCompiler.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/com/vaadin/tools') diff --git a/src/com/vaadin/tools/WidgetsetCompiler.java b/src/com/vaadin/tools/WidgetsetCompiler.java index 0421164873..ce7ab37625 100644 --- a/src/com/vaadin/tools/WidgetsetCompiler.java +++ b/src/com/vaadin/tools/WidgetsetCompiler.java @@ -2,6 +2,8 @@ package com.vaadin.tools; import java.lang.reflect.Method; +import com.vaadin.terminal.gwt.widgetsetutils.WidgetSetBuilder; + /** * A wrapper for the GWT 1.6 compiler that runs the compiler in a new thread. * @@ -44,6 +46,13 @@ public class WidgetsetCompiler { try { // GWTCompiler.main(args); // avoid warnings + + String wsname = args[args.length - 1]; + + // TODO expecting this is launched via eclipse WTP + // project + WidgetSetBuilder.updateWidgetSet(wsname, "src"); + System.setProperty("gwt.nowarn.legacy.tools", "true"); Class compilerClass = Class .forName("com.google.gwt.dev.GWTCompiler"); -- cgit v1.2.3