diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2007-08-29 07:43:57 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2007-08-29 07:43:57 +0000 |
commit | 5d531b36dbf5086fb6ca0a54e97f31372731d7ba (patch) | |
tree | 69fc17d6a7a0709c6621b8e53711873a3c8ae917 /build/bin | |
parent | 19d014438c158fa41a57e061778ad58b526379c6 (diff) | |
download | vaadin-framework-5d531b36dbf5086fb6ca0a54e97f31372731d7ba.tar.gz vaadin-framework-5d531b36dbf5086fb6ca0a54e97f31372731d7ba.zip |
updated compilation scripts and lauch configurations to gwt 1.4.60
svn changeset:2147/svn branch:trunk
Diffstat (limited to 'build/bin')
-rwxr-xr-x | build/bin/compile-gwt-components | 16 | ||||
-rw-r--r-- | build/bin/compile-gwt-components.bat | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/build/bin/compile-gwt-components b/build/bin/compile-gwt-components index 3456872d0d..3f02e92315 100755 --- a/build/bin/compile-gwt-components +++ b/build/bin/compile-gwt-components @@ -1,3 +1,17 @@ #!/bin/sh + +JVMVARS="" + +PLATFORM="" + +if [ -d "/Users" ] +then + echo "MAC OS" + JVMVARS="$JVMVARS -XstartOnFirstThread" + PLATFORM="mac" +else + PLATFORM="linux" +fi + rm -r ../../WebContent/com.itmill.toolkit.terminal.gwt.Client/* -java -XstartOnFirstThread -cp "../../src:../gwt/gwt-mac-1.4.59/gwt-user.jar:../gwt/gwt-mac-1.4.59/gwt-dev-mac.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent" "$@" com.itmill.toolkit.terminal.gwt.Client; +java $JVMVARS -cp "../../src:../gwt/gwt/gwt-user.jar:../gwt/gwt/gwt-dev-$PLATFORM.jar" com.google.gwt.dev.GWTCompiler -out "../../WebContent" "$@" com.itmill.toolkit.terminal.gwt.Client; diff --git a/build/bin/compile-gwt-components.bat b/build/bin/compile-gwt-components.bat index f1325b81e3..25bdfd9ebc 100644 --- a/build/bin/compile-gwt-components.bat +++ b/build/bin/compile-gwt-components.bat @@ -1 +1 @@ -@java -cp "%~dp0\../../src;%~dp0\bin;%~dp0\../gwt/gwt-windows-1.4.59/gwt-user.jar;%~dp0\../gwt/gwt-windows-1.4.59/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -out "%~dp0\../../WebContent" %* com.itmill.toolkit.terminal.gwt.Client
\ No newline at end of file +@java -cp "%~dp0\../../src;%~dp0\bin;%~dp0\../gwt/gwt/gwt-user.jar;%~dp0\../gwt/gwt/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -out "%~dp0\../../WebContent" %* com.itmill.toolkit.terminal.gwt.Client
\ No newline at end of file |