From eabc810f2ed3b1680ac101e828348d49ee939e1d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 13 Jun 2013 20:34:50 +0200 Subject: Fix Bug 751 OSX Java-6: Derive host/target-rt jar file from 'java.home'. --- make/jogamp-env.xml | 18 +++++++++--------- make/scripts/make.gluegen.all.macosx-java7.sh | 3 --- .../make.gluegen.all.macosx-java7_target16.sh | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+), 12 deletions(-) create mode 100755 make/scripts/make.gluegen.all.macosx-java7_target16.sh (limited to 'make') diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml index 542d288..b7fcd21 100755 --- a/make/jogamp-env.xml +++ b/make/jogamp-env.xml @@ -163,17 +163,17 @@ - + - + - + value="${java.home}/../Classes/classes.jar"> + - + @@ -188,15 +188,15 @@ - + - + - + value="${java.home}/../Classes/classes.jar"> + diff --git a/make/scripts/make.gluegen.all.macosx-java7.sh b/make/scripts/make.gluegen.all.macosx-java7.sh index 1a69f9e..f88341b 100755 --- a/make/scripts/make.gluegen.all.macosx-java7.sh +++ b/make/scripts/make.gluegen.all.macosx-java7.sh @@ -15,8 +15,5 @@ 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.gluegen.all.macosx-java7.log diff --git a/make/scripts/make.gluegen.all.macosx-java7_target16.sh b/make/scripts/make.gluegen.all.macosx-java7_target16.sh new file mode 100755 index 0000000..4e9e04a --- /dev/null +++ b/make/scripts/make.gluegen.all.macosx-java7_target16.sh @@ -0,0 +1,22 @@ +#! /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 \ + +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_target16 \ + $* 2>&1 | tee make.gluegen.all.macosx-java7_target16.log -- cgit v1.2.3