diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-11-01 11:46:41 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-11-01 11:46:41 +0000 |
commit | 52c1cb21e1ac6d4c149522ab6171bad48a31336e (patch) | |
tree | a4226b4afc96aa4e06c1fc699ad945865fd4144c /build/bin | |
parent | ba505caf9ab05fe274400a6c214fbfce314e6536 (diff) | |
download | vaadin-framework-52c1cb21e1ac6d4c149522ab6171bad48a31336e.tar.gz vaadin-framework-52c1cb21e1ac6d4c149522ab6171bad48a31336e.zip |
Added osx 10.5 detection to compile-gwt-components script
svn changeset:2653/svn branch:trunk
Diffstat (limited to 'build/bin')
-rwxr-xr-x | build/bin/compile-gwt-components | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build/bin/compile-gwt-components b/build/bin/compile-gwt-components index 2e72d3fb36..52ab6417c3 100755 --- a/build/bin/compile-gwt-components +++ b/build/bin/compile-gwt-components @@ -15,8 +15,10 @@ if [ -d "/Users" ] then echo "MAC OS" PLATFORM="mac" - # TODO isolate next command on macos10.5 - JVMVARS="$JVMVARS -XstartOnFirstThread" + # Do not add this command for 10.5 + if (uname -v | grep -v -q 9.0); then + JVMVARS="$JVMVARS -XstartOnFirstThread" + fi else PLATFORM="linux" fi @@ -33,5 +35,5 @@ STYLE=OBF # 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 -java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITMILL/widgetsets" com.itmill.toolkit.demo.colorpicker.gwt.WidgetSet -style $STYLE -java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:../../lib/reservr/googlemaps_gwt.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITMILL/widgetsets" com.itmill.toolkit.demo.reservation.gwt.WidgetSet -style $STYLE +#java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITMILL/widgetsets" com.itmill.toolkit.demo.colorpicker.gwt.WidgetSet -style $STYLE +#java $JVMVARS -cp "$SRCDIR:$GWTDIR/gwt-user.jar:../../lib/reservr/googlemaps_gwt.jar:$GWTDIR/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent/ITMILL/widgetsets" com.itmill.toolkit.demo.reservation.gwt.WidgetSet -style $STYLE |