summaryrefslogtreecommitdiffstats
path: root/test/TestEclipse_JarInJar
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-01 22:41:55 +0200
committerSven Gothel <[email protected]>2013-10-01 22:41:55 +0200
commit01c5d59c5245068b0d005ccbb64f8d0aa5165f12 (patch)
tree75b61bd2c6ac9e927eb1ad412bf2fe4819a262b5 /test/TestEclipse_JarInJar
parentb05f716cbcbc379588050c8f3d91579b3a14ec88 (diff)
Bug 846: Add manual test case for One-Jar (using 0.97.1)
Note: One-Jar lacks support of a URL handler for it's jar-in-jar files and hence we would need to extract the jar-in-jar resources w/ our TempJarCache from one one-jar file .. too bad. Looks like it's incomplete.
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