Jogamp
scripts: Update macosx build script
[jogl-demos.git] / java-dbg.sh
1 #! /bin/sh
2
3 CPOK=0
4 echo $CLASSPATH | grep jogl && CPOK=1
5
6 if [ $CPOK -eq 0 ] ; then
7     # Only valid for autobuild .. otherwise run manually with build-dir
8     . ./setenv-jogl.sh JOGL_ALL
9     echo $CLASSPATH | grep jogl && CPOK=1
10 fi
11 if [ $CPOK -eq 0 ] ; then
12     echo No JOGL in CLASSPATH
13 else
14 # D_ARGS="-Djogamp.debug.JNILibLoader=true -Djogamp.debug.NativeLibrary=true -Djogamp.debug.NativeLibrary.Lookup=true -Djogl.debug.GLProfile=true"
15 D_ARGS="-Djogl.debug=all -Dnewt.debug=all -Dnativewindow.debug=all"
16
17     java $D_ARGS $* 2>&1 | tee java-dbg.log
18 fi
19
http://JogAmp.org git info: FAQ, tutorial and man pages.