summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-06-05 03:44:21 +0000
committerSven Gothel <[email protected]>2009-06-05 03:44:21 +0000
commit3d95fab3cd7be5b260afa2be371b0ac7b4866790 (patch)
tree4c56efdec04ba947ef79d383dd6c2a8ef4393672
parent00be16b0e3826a8ea7a18887eafc0d171116cb5d (diff)
Adding run scripts ..
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@341 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rw-r--r--java-dbg.sh5
-rw-r--r--java-win32-dbg.bat19
-rw-r--r--java-win32.bat19
3 files changed, 43 insertions, 0 deletions
diff --git a/java-dbg.sh b/java-dbg.sh
new file mode 100644
index 0000000..5e42f49
--- /dev/null
+++ b/java-dbg.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+java -Dgluegen.debug.ProcAddressHelper=true -Dgluegen.debug.NativeLibrary=true -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log
+
+
diff --git a/java-win32-dbg.bat b/java-win32-dbg.bat
new file mode 100644
index 0000000..b6f17b5
--- /dev/null
+++ b/java-win32-dbg.bat
@@ -0,0 +1,19 @@
+
+#set TOPDIR=C:\SUN\JOGL2
+set TOPDIR=..
+set J2RE_HOME=c:\jre6
+set JAVA_HOME=c:\jdk6
+
+set JAR_DIR=%TOPDIR%\lib-jogl-jars
+set LIB_DIR=%TOPDIR%\lib-jogl-win32
+
+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
+
+echo CLASSPATH %CLASSPATH%
+
+echo PATH %PATH%
+
+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
+
+
diff --git a/java-win32.bat b/java-win32.bat
new file mode 100644
index 0000000..e41b18d
--- /dev/null
+++ b/java-win32.bat
@@ -0,0 +1,19 @@
+
+#set TOPDIR=C:\SUN\JOGL2
+set TOPDIR=..
+set J2RE_HOME=c:\jre6
+set JAVA_HOME=c:\jdk6
+
+set JAR_DIR=%TOPDIR%\lib-jogl-jars
+set LIB_DIR=%TOPDIR%\lib-jogl-win32
+
+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
+
+echo CLASSPATH %CLASSPATH%
+
+echo PATH %PATH%
+
+java "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32.log 2>&1
+
+