Jogamp
scripts: Update macosx build script master rc
authorSven Gothel <sgothel@jausoft.com>
Thu, 15 Oct 2015 18:14:37 +0000 (20:14 +0200)
committerSven Gothel <sgothel@jausoft.com>
Thu, 15 Oct 2015 18:14:37 +0000 (20:14 +0200)
make/scripts/make.jogl.all.macosx.sh

index d0f1475..ad048c3 100755 (executable)
@@ -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
http://JogAmp.org git info: FAQ, tutorial and man pages.