summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.gluegen.all.macosx.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-20 04:29:21 +0200
committerSven Gothel <[email protected]>2013-06-20 04:29:21 +0200
commit6704fab767307b89fa21250c20f1dab56323ffac (patch)
treeac7b5460d6f706188b2a8c75f8fa2adb592723df /make/scripts/make.gluegen.all.macosx.sh
parent6c30050195849cd385422fc6e65230c16b818215 (diff)
Bug 758: Fix scripts and ant build files to work w/ Java7 (default now) producing Java6 bytecode ; Apply JAR Manifest tags: Sealed, Permissions and Codebase
Diffstat (limited to 'make/scripts/make.gluegen.all.macosx.sh')
-rwxr-xr-xmake/scripts/make.gluegen.all.macosx.sh16
1 files changed, 11 insertions, 5 deletions
diff --git a/make/scripts/make.gluegen.all.macosx.sh b/make/scripts/make.gluegen.all.macosx.sh
index 94bcd4e..56e2eba 100755
--- a/make/scripts/make.gluegen.all.macosx.sh
+++ b/make/scripts/make.gluegen.all.macosx.sh
@@ -10,10 +10,16 @@ fi
# -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
+
+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"
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 \
- $* 2>&1 | tee make.gluegen.all.macosx.log
+ -Drootrel.build=build-macosx-java7_target16 \
+ $* 2>&1 | tee make.gluegen.all.macosx-java7_target16.log