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