summaryrefslogtreecommitdiffstats
path: root/test/TestEclipse_JarInJar
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestEclipse_JarInJar')
-rw-r--r--test/TestEclipse_JarInJar/lala02.orig.jarbin0 -> 4748589 bytes
-rw-r--r--test/TestEclipse_JarInJar/make-jarinjar.sh21
-rw-r--r--test/TestEclipse_JarInJar/run-jarinjar.sh8
3 files changed, 29 insertions, 0 deletions
diff --git a/test/TestEclipse_JarInJar/lala02.orig.jar b/test/TestEclipse_JarInJar/lala02.orig.jar
new file mode 100644
index 0000000..39d52e5
--- /dev/null
+++ b/test/TestEclipse_JarInJar/lala02.orig.jar
Binary files differ
diff --git a/test/TestEclipse_JarInJar/make-jarinjar.sh b/test/TestEclipse_JarInJar/make-jarinjar.sh
new file mode 100644
index 0000000..53239a4
--- /dev/null
+++ b/test/TestEclipse_JarInJar/make-jarinjar.sh
@@ -0,0 +1,21 @@
+THISDIR=`pwd`
+GLUEGEN=$THISDIR/../../../gluegen
+JOGL=$THISDIR/../../../jogl
+
+bdir=build-x86_64
+
+rm -rf tmp
+mkdir tmp
+
+cd tmp
+unzip $THISDIR/lala02.orig.jar
+
+cp -av $GLUEGEN/$bdir/gluegen-rt.jar .
+cp -av $GLUEGEN/$bdir/gluegen-rt-natives-linux-amd64.jar .
+cp -av $JOGL/$bdir/jar/jogl-all.jar .
+cp -av $JOGL/$bdir/jar/jogl-all-natives-linux-amd64.jar .
+
+jar cmf META-INF/MANIFEST.MF ../lala02.jar *jar *class org
+cd ..
+
+rm -rf tmp
diff --git a/test/TestEclipse_JarInJar/run-jarinjar.sh b/test/TestEclipse_JarInJar/run-jarinjar.sh
new file mode 100644
index 0000000..404a301
--- /dev/null
+++ b/test/TestEclipse_JarInJar/run-jarinjar.sh
@@ -0,0 +1,8 @@
+
+THIS_DIR=`pwd`
+
+D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.debug.JarUtil -Djogamp.debug.TempJarCache"
+#D_ARGS="-Djogamp.debug.ProcAddressHelper -Djogamp.debug.NativeLibrary -Djogamp.debug.NativeLibrary.Lookup"
+#D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.debug.TempFileCache -Djogamp.debug.JarUtil -Djogamp.debug.TempJarCache -Djogamp.debug.NativeLibrary -Djogamp.debug.NativeLibrary.Lookup -Djogl.debug=all"
+
+java $D_ARGS -jar lala02.jar 2>&1 | tee run-jarinjar.log