diff options
author | Sven Gothel <[email protected]> | 2013-10-01 15:34:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-01 15:34:05 +0200 |
commit | b05f716cbcbc379588050c8f3d91579b3a14ec88 (patch) | |
tree | 6bb720e5dc500225d4a12bf3b6dc93f4d85f04fb /test/TestMultiAndFatJar/run-fat.sh | |
parent | 4aa1478b2e4f1401b08d093461b37a14c9501c29 (diff) |
Bug 845: Fix JNILibLoaderBase.addNativeJarLibsImpl(..) fat-jar case.
Always use the jar-basename when calling TempJarCache.addNativeLibs(..),
otherwise it is mapped and loaded multiple times leading to different native libraries.
Simplify addNativeJarLibsImpl(..) argument semantics by passing complete jarBasename
and nativeJarBasename (w/ suffix).
Added manual test scripts validating [gluegen + jogl] usage
with multi (Bug 843) and fat (Bug 845) jar configurations.
Diffstat (limited to 'test/TestMultiAndFatJar/run-fat.sh')
-rw-r--r-- | test/TestMultiAndFatJar/run-fat.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/TestMultiAndFatJar/run-fat.sh b/test/TestMultiAndFatJar/run-fat.sh new file mode 100644 index 0000000..60247a6 --- /dev/null +++ b/test/TestMultiAndFatJar/run-fat.sh @@ -0,0 +1,9 @@ + +D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.debug.TempFileCache -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" + +#T_CLASS="com.jogamp.opengl.JoglVersion" +T_CLASS="com.jogamp.newt.opengl.GLWindow" + +java -cp jogl-fat.jar $D_ARGS $T_CLASS 2>&1 | tee run-fat.log |