From 5d531b36dbf5086fb6ca0a54e97f31372731d7ba Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 29 Aug 2007 07:43:57 +0000 Subject: updated compilation scripts and lauch configurations to gwt 1.4.60 svn changeset:2147/svn branch:trunk --- Hosted Mode Browser Linux.launch | 4 ++-- Hosted Mode Browser Mac.launch | 4 ++-- Hosted Mode Browser Win.launch | 4 ++-- build/bin/compile-gwt-components | 16 +++++++++++++++- build/bin/compile-gwt-components.bat | 2 +- 5 files changed, 22 insertions(+), 8 deletions(-) diff --git a/Hosted Mode Browser Linux.launch b/Hosted Mode Browser Linux.launch index 085a3a2dde..2be0cc924b 100644 --- a/Hosted Mode Browser Linux.launch +++ b/Hosted Mode Browser Linux.launch @@ -8,8 +8,8 @@ - - + + diff --git a/Hosted Mode Browser Mac.launch b/Hosted Mode Browser Mac.launch index adbefe0c32..71946f5405 100644 --- a/Hosted Mode Browser Mac.launch +++ b/Hosted Mode Browser Mac.launch @@ -8,8 +8,8 @@ - - + + diff --git a/Hosted Mode Browser Win.launch b/Hosted Mode Browser Win.launch index b7d9546a03..dccf86cd0d 100644 --- a/Hosted Mode Browser Win.launch +++ b/Hosted Mode Browser Win.launch @@ -8,8 +8,8 @@ - - + + 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 -- cgit v1.2.3