From: Matti Tahvonen Date: Mon, 29 Oct 2007 09:09:57 +0000 (+0000) Subject: fixed compile script X-Git-Tag: 6.7.0.beta1~5763 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b7185fe095edb9e52acf4c617a7a63b0a793035b;p=vaadin-framework.git fixed compile script svn changeset:2612/svn branch:trunk --- diff --git a/build/bin/compile-gwt-components b/build/bin/compile-gwt-components index cae68a460c..2e72d3fb36 100755 --- a/build/bin/compile-gwt-components +++ b/build/bin/compile-gwt-components @@ -6,26 +6,30 @@ echo compile-gwt-components must only be run from build/bin directory exit fi +# Parameters +JVMVARS="-Xmx512M" + # Detect platform PLATFORM="" if [ -d "/Users" ] then echo "MAC OS" PLATFORM="mac" + # TODO isolate next command on macos10.5 + JVMVARS="$JVMVARS -XstartOnFirstThread" else PLATFORM="linux" fi -# Parameters -JVMVARS="-Xmx512M" + OUTDIR=../../WebContent/ITMILL/widgetsets -GWTDIR=../gwt/$PLATFORM +GWTDIR=../gwt/gwt SRCDIR=../../src STYLE=OBF # Clean anything that could be wrong -rm -r $OUTDIR/* -rm -r .gwt-cache +#rm -r $OUTDIR/* +#rm -r .gwt-cache # Build the widgetsets java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out $OUTDIR com.itmill.toolkit.terminal.gwt.DefaultWidgetSet -style $STYLE