Bug 846

Summary: Fix issue w/ 'one-jar' (Similar feature as Eclipse's jar-in-jar Bug 522 Comment 7)
Product: [JogAmp] Gluegen Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
01c5d59c5245068b0d005ccbb64f8d0aa5165f12 3c9812c130fac9237a2dc2e18a6639ec3583eed7 ca7a1864a1624539048809d0a1c491f57c145d15
Workaround: ---

Description Sven Gothel 2013-10-01 15:50:26 CEST
one-jar's [http://sourceforge.net/projects/one-jar] jar-in-jar 
doesn't work w/ Jogamp.

It shall work similar as w/ Eclipse's jar-in-jar, see Bug 522 Comment 7.
Comment 1 Sven Gothel 2013-10-01 23:13:05 CEST
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.

i.e. we cannot access the jar-in-jar gluegen-rt.jar resources of
  jar:file://home/sven/projects/JOGL/gluegen/test/TestOneJar_InJar/jogamp01/build/jogamp01.jar!/lib/gluegen-rt.jar!/com/jogamp/common/os/Platform.class

  jar:file://home/sven/projects/JOGL/gluegen/test/TestOneJar_InJar/jogamp01/build/jogamp01.jar!/lib/gluegen-rt-natives-linux-amd64.jar!/

Note the jogamp01.jar notation as a file within jar, i.e. 'file:/</home/sven/.../jogamp01.jar!>/..',
where /home/ denotes the authoritative section.

Since One-Jar does not register the URL handler .. we would need to extract all
jar-in-jar files and map them ..