From dbf66ad9e297d208029d6bb5e06f8b0f0c847d57 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 1 Jul 2009 07:34:59 +0000 Subject: 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 --- java-win32-dbg.bat | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'java-win32-dbg.bat') diff --git a/java-win32-dbg.bat b/java-win32-dbg.bat index dc9c8d2..9b0dc4e 100644 --- a/java-win32-dbg.bat +++ b/java-win32-dbg.bat @@ -1,11 +1,17 @@ -REM 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 @@ -14,8 +20,6 @@ echo CLASSPATH %CLASSPATH% echo PATH %PATH% -REM java "-Dgluegen.debug.ProcAddressHelper" "-Dgluegen.debug.NativeLibrary=true" "-Djava.library.path=%LIB_DIR%" "-Dnativewindow.debug=all" "-Djogl.debug=all" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 -REM java "-Dgluegen.debug.NativeLibrary=true" "-Dnewt.debug=all" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 -java "-Dnewt.debug.Window" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 +java "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32.log 2>&1 -- cgit v1.2.3