aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-01-30 16:24:14 +0100
committerSven Gothel <[email protected]>2013-01-30 16:24:14 +0100
commit4d6983ca087feb0544c27326c8bf470444df2eec (patch)
treea6e246e979a7d40833f70ac437d7364b40231bf2
parenta456289c45a167269fa1bf839316164781801817 (diff)
Add OSX Java7 build/test scripts
-rwxr-xr-xmake/scripts/make.jogl.all.macosx-java7.sh25
-rwxr-xr-xmake/scripts/tests-osx-x64-java7.sh13
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 $*
+
+