diff options
author | Sven Gothel <[email protected]> | 2015-10-15 20:14:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-10-15 20:14:37 +0200 |
commit | 2d35b314ebfb86242275cfa9bfa161408301e043 (patch) | |
tree | dd7755323e65eb75d99f873d8d8d1d80fbefdbcf /make | |
parent | a872884aca5765695d6e385625274764df83637a (diff) |
scripts: Update macosx build scriptrc
Diffstat (limited to 'make')
-rwxr-xr-x | make/scripts/make.jogl.all.macosx.sh | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/make/scripts/make.jogl.all.macosx.sh b/make/scripts/make.jogl.all.macosx.sh index d0f1475..ad048c3 100755 --- a/make/scripts/make.jogl.all.macosx.sh +++ b/make/scripts/make.jogl.all.macosx.sh @@ -1,13 +1,30 @@ #! /bin/sh -SDIR=`dirname $0` +if [ -e /opt-share/etc/profile.ant ] ; then + . /opt-share/etc/profile.ant +fi + +JAVA_HOME=`/usr/libexec/java_home -version 1.8` +#JAVA_HOME=`/usr/libexec/java_home -version 1.6` +PATH=$JAVA_HOME/bin:$PATH +export JAVA_HOME PATH + + +# -Dc.compiler.debug=true \ +# -Djavacdebug="true" \ +# -Djavacdebuglevel="source,lines,vars" \ +# + +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" # -Dc.compiler.debug=true # -Djogl.cg=1 \ 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.jogl.all.macosx.log |