aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-11 01:25:36 +0200
committerSven Gothel <[email protected]>2015-07-11 01:25:36 +0200
commit737c9b06c1d244ee7693f29851d07745b731b0c5 (patch)
tree62f57688b4f21c0e4a4df447dee97f273f07b70d
parent5e2a1f0e55abd4f4ed6b5ed9cece08b0550a0076 (diff)
add osx-java6 script: using separate rootrel.build
-rwxr-xr-xmake/scripts/make.joal.all.macosx-java6.sh30
-rwxr-xr-xmake/scripts/make.joal.all.macosx.sh1
2 files changed, 31 insertions, 0 deletions
diff --git a/make/scripts/make.joal.all.macosx-java6.sh b/make/scripts/make.joal.all.macosx-java6.sh
new file mode 100755
index 0000000..f30856f
--- /dev/null
+++ b/make/scripts/make.joal.all.macosx-java6.sh
@@ -0,0 +1,30 @@
+#! /bin/sh
+
+if [ -e /opt-share/etc/profile.ant ] ; then
+ . /opt-share/etc/profile.ant
+fi
+
+# -Dc.compiler.debug=true
+#
+# -Dtarget.sourcelevel=1.6 \
+# -Dtarget.targetlevel=1.6 \
+# -Dtarget.rt.jar=/opt-share/jre1.6.0_30/lib/rt.jar \
+
+# Force OSX SDK 10.6, if desired
+# export SDKROOT=macosx10.6
+
+JAVA_HOME=`/usr/libexec/java_home -version 1.6`
+PATH=$JAVA_HOME/bin:$PATH
+export JAVA_HOME PATH
+
+export SOURCE_LEVEL=1.6
+export TARGET_LEVEL=1.6
+export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"
+
+#BUILD_ARCHIVE=true \
+ant \
+ -Drootrel.build=build-macosx-java6 \
+ $* 2>&1 | tee make.joal.all.macosx-java6.log
diff --git a/make/scripts/make.joal.all.macosx.sh b/make/scripts/make.joal.all.macosx.sh
index 192ad1b..466bf61 100755
--- a/make/scripts/make.joal.all.macosx.sh
+++ b/make/scripts/make.joal.all.macosx.sh
@@ -17,6 +17,7 @@ export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"
+#BUILD_ARCHIVE=true \
ant \
-Drootrel.build=build-macosx \
$* 2>&1 | tee make.joal.all.macosx.log