summaryrefslogtreecommitdiffstats
path: root/etc/test_dbg.bat
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-24 11:20:17 +0200
committerSven Gothel <[email protected]>2011-10-24 11:20:17 +0200
commit3b6ef84e25a3fcaa2de381be3758c144ae239b6a (patch)
tree1d80fa951459200202acadcd8b9d5d650b2b89de /etc/test_dbg.bat
parent40a0d1c18d40b99086e53addd95c0e84d0175a0b (diff)
Add debug version of etc/test.*
Diffstat (limited to 'etc/test_dbg.bat')
-rwxr-xr-xetc/test_dbg.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/test_dbg.bat b/etc/test_dbg.bat
new file mode 100755
index 000000000..4d21cc23a
--- /dev/null
+++ b/etc/test_dbg.bat
@@ -0,0 +1,20 @@
+
+set BLD_DIR=jar
+set LIB_DIR=lib
+
+set CP_ALL=.;%BLD_DIR%\gluegen-rt.jar;%BLD_DIR%\nativewindow.all.jar;%BLD_DIR%\jogl.all.jar;%BLD_DIR%\newt.all.jar
+echo CP_ALL %CP_ALL%
+
+set D_ARGS="-Djogamp.debug=all" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dnewt.debug=all"
+set X_ARGS="-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true"
+
+REM java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% javax.media.opengl.awt.GLCanvas > java-win64.log 2>&1
+
+REM java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% com.jogamp.common.GlueGenVersion > test.log 2>&1
+REM java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% com.jogamp.nativewindow.NativeWindowVersion >> test.log 2>&1
+REM java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% com.jogamp.opengl.JoglVersion >> test.log 2>&1
+REM java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% com.jogamp.newt.NewtVersion >> test.log 2>&1
+REM java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% com.jogamp.newt.opengl.GLCanvas >> test.log 2>&1
+java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" %X_ARGS% %D_ARGS% com.jogamp.newt.opengl.GLWindow >> test_dbg.log 2>&1
+
+type test.log