diff options
author | Sven Gothel <[email protected]> | 2013-01-30 16:24:14 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-30 16:24:14 +0100 |
commit | 4d6983ca087feb0544c27326c8bf470444df2eec (patch) | |
tree | a6e246e979a7d40833f70ac437d7364b40231bf2 /make | |
parent | a456289c45a167269fa1bf839316164781801817 (diff) |
Add OSX Java7 build/test scripts
Diffstat (limited to 'make')
-rwxr-xr-x | make/scripts/make.jogl.all.macosx-java7.sh | 25 | ||||
-rwxr-xr-x | make/scripts/tests-osx-x64-java7.sh | 13 |
2 files changed, 38 insertions, 0 deletions
diff --git a/make/scripts/make.jogl.all.macosx-java7.sh b/make/scripts/make.jogl.all.macosx-java7.sh new file mode 100755 index 000000000..afb72bf8c --- /dev/null +++ b/make/scripts/make.jogl.all.macosx-java7.sh @@ -0,0 +1,25 @@ +#! /bin/sh + +if [ -e /opt-share/etc/profile.ant ] ; then + . /opt-share/etc/profile.ant +fi + + +# -Dc.compiler.debug=true \ +# -Djavacdebug="true" \ +# -Djavacdebuglevel="source,lines,vars" \ +# +# -Dtarget.sourcelevel=1.6 \ +# -Dtarget.targetlevel=1.6 \ +# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ + +JAVA_HOME=`/usr/libexec/java_home -version 1.7` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH + +ant \ + -Dtarget.sourcelevel=1.6 \ + -Dtarget.targetlevel=1.6 \ + -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \ + -Drootrel.build=build-macosx-java7 \ + $* 2>&1 | tee make.jogl.all.macosx.log diff --git a/make/scripts/tests-osx-x64-java7.sh b/make/scripts/tests-osx-x64-java7.sh new file mode 100755 index 000000000..378938167 --- /dev/null +++ b/make/scripts/tests-osx-x64-java7.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH + +JAVA_HOME=`/usr/libexec/java_home -version 1.7` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH + +spath=`dirname $0` + +. $spath/tests.sh $JAVA_HOME/bin/java -d64 ../build-macosx $* + + |