summaryrefslogtreecommitdiffstats
path: root/java-win32.bat
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-07-01 07:34:59 +0000
committerSven Gothel <[email protected]>2009-07-01 07:34:59 +0000
commitdbf66ad9e297d208029d6bb5e06f8b0f0c847d57 (patch)
tree49597ff70e76440c337ce16ecce4f48cec66ffe8 /java-win32.bat
parentd075bda489c425d7f1ccd45944db6a8696bb0fd2 (diff)
Sync with jogl r2009 ; Unified setenv-jogl.sh, which works from the autobuild directory as well ; Unified java*.sh scripts
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@358 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'java-win32.bat')
-rw-r--r--java-win32.bat7
1 files changed, 6 insertions, 1 deletions
diff --git a/java-win32.bat b/java-win32.bat
index e9ed420..b27da06 100644
--- a/java-win32.bat
+++ b/java-win32.bat
@@ -1,11 +1,16 @@
-#set TOPDIR=C:\SUN\JOGL2
set TOPDIR=..
set J2RE_HOME=c:\jre6
set JAVA_HOME=c:\jdk6
+IF NOT EXIST %TOPDIR%\lib-jogl-jars GOTO DIRSET2
set JAR_DIR=%TOPDIR%\lib-jogl-jars
set LIB_DIR=%TOPDIR%\lib-jogl-win32
+GOTO DIRSETFIN
+:DIRSET2
+set JAR_DIR=jogl\lib
+set LIB_DIR=jogl\lib
+:DIRSETFIN
set PATH=%J2RE_HOME%\bin;%LIB_DIR%;%PATH%
set CLASSPATH=.;%JAR_DIR%\jogl.all.jar;%JAR_DIR%\nativewindow.all.jar;%JAR_DIR%\newt.all.jar;%JAR_DIR%\gluegen-rt.jar;%JAR_DIR%\jogl-demos.jar;%JAR_DIR%\jogl-demos-util.jar;%JAR_DIR%\jogl-demos-data.jar