summaryrefslogtreecommitdiffstats
path: root/setenv-jogl.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-15 03:46:16 +0200
committerSven Gothel <[email protected]>2010-04-15 03:46:16 +0200
commit4ff184fd14376241b5a28b3a93f84a849d33f002 (patch)
tree10bf9a19fcded63b0132ec9e626a986595985464 /setenv-jogl.sh
parentaa2f05ff1ab182fdb6f724a6aedf91de201efe7e (diff)
Fixes to match JOGL 2ae28d54858ff684bc2368e0476a7a357dc63432
Diffstat (limited to 'setenv-jogl.sh')
-rw-r--r--setenv-jogl.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/setenv-jogl.sh b/setenv-jogl.sh
index 145505c..76ab00a 100644
--- a/setenv-jogl.sh
+++ b/setenv-jogl.sh
@@ -69,6 +69,12 @@ else
JUNIT_JAR=$GLUEGEN_DIR/junit-4.5.jar
fi
+if [ -z "$ANT_PATH" ] ; then
+ ANT_JARS=
+else
+ ANT_JARS=$ANT_PATH/lib/ant.jar:$ANT_PATH/lib/ant-junit.jar
+fi
+
DEMOS_BUILDDIR=$THISDIR/$JOGL_BUILDDIR_BASE
echo JOGL AUTOBUILD: $AUTOBUILD
@@ -88,7 +94,7 @@ CP_SEP=:
SWT_CLASSPATH=$HOME/.java/swt.jar
LIB=$THISDIR/lib
-CLASSPATH=.:$DEMOS_BUILDDIR/jogl-demos.jar:$DEMOS_BUILDDIR/jogl-demos-util.jar:$DEMOS_BUILDDIR/jogl-demos-data.jar:$GLUEGEN_JAR:$JOGL_CLASSPATH:$SWT_CLASSPATH:$JUNIT_JAR
+CLASSPATH=.:$DEMOS_BUILDDIR/jogl-demos.jar:$DEMOS_BUILDDIR/jogl-demos-util.jar:$DEMOS_BUILDDIR/jogl-demos-data.jar:$GLUEGEN_JAR:$JOGL_CLASSPATH:$SWT_CLASSPATH:$JUNIT_JAR:$ANT_JARS
for i in $LIB/*jar ; do
CLASSPATH=$CLASSPATH:$i
done