From 603f6eab78a0e8f7a22f0e51af1afa426d9d80a2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 25 Nov 2011 02:50:27 +0100 Subject: scripts: profile.jogl / setenv-jogl.sh / test.sh: Expose and use AWT / NOAWT CLASSPATH specific vars Enable tests w/ and w/o AWT JARs .. --- make/scripts/setenv-jogl.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'make/scripts/setenv-jogl.sh') diff --git a/make/scripts/setenv-jogl.sh b/make/scripts/setenv-jogl.sh index e52c2382f..38fd8de38 100755 --- a/make/scripts/setenv-jogl.sh +++ b/make/scripts/setenv-jogl.sh @@ -84,15 +84,21 @@ CP_SEP=: LIB=$THISDIR/lib +JOGAMP_ALL_AWT_CLASSPATH=.:$GLUEGEN_JAR:$JOGL_ALL_AWT_CLASSPATH:$SWT_CLASSPATH:$JUNIT_JAR:$ANT_JARS +JOGAMP_ALL_NOAWT_CLASSPATH=.:$GLUEGEN_JAR:$JOGL_ALL_NOAWT_CLASSPATH:$SWT_CLASSPATH:$JUNIT_JAR:$ANT_JARS +JOGAMP_MOBILE_CLASSPATH=.:$GLUEGEN_JAR:$JOGL_MOBILE_CLASSPATH:$SWT_CLASSPATH:$JUNIT_JAR:$ANT_JARS +export JOGAMP_ALL_AWT_CLASSPATH JOGAMP_ALL_NOAWT_CLASSPATH JOGAMP_MOBILE_CLASSPATH + CLASSPATH=.:$GLUEGEN_JAR:$JOGL_CLASSPATH:$SWT_CLASSPATH:$JUNIT_JAR:$ANT_JARS -for i in $LIB/*jar ; do - CLASSPATH=$CLASSPATH:$i -done export CLASSPATH + # We use TempJarCache per default now! #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GLUEGEN_OS:$JOGL_LIB_DIR #export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$GLUEGEN_OS:$JOGL_LIB_DIR +echo JOGAMP_ALL_AWT_CLASSPATH: $CLASSPATH +echo JOGAMP_ALL_NOAWT_CLASSPATH: $CLASSPATH +echo JOGAMP_MOBILE_CLASSPATH: $CLASSPATH echo CLASSPATH: $CLASSPATH echo echo MacOSX REMEMBER to add the JVM arguments "-XstartOnFirstThread -Djava.awt.headless=true" for running demos without AWT, e.g. NEWT -- cgit v1.2.3