diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2007-10-29 09:09:57 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2007-10-29 09:09:57 +0000 |
commit | b7185fe095edb9e52acf4c617a7a63b0a793035b (patch) | |
tree | 45e1d4f8533b70cae78770c838c9e10fec609d1d /build/bin | |
parent | 951ed4d55d99770c5aa92ca5018097937c3600b5 (diff) | |
download | vaadin-framework-b7185fe095edb9e52acf4c617a7a63b0a793035b.tar.gz vaadin-framework-b7185fe095edb9e52acf4c617a7a63b0a793035b.zip |
fixed compile script
svn changeset:2612/svn branch:trunk
Diffstat (limited to 'build/bin')
-rwxr-xr-x | build/bin/compile-gwt-components | 14 |
1 files changed, 9 insertions, 5 deletions
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 |