Bug 846 - Fix issue w/ 'one-jar' (Similar feature as Eclipse's jar-in-jar Bug 522 Comment 7)
Summary: Fix issue w/ 'one-jar' (Similar feature as Eclipse's jar-in-jar Bug 522 Comme...
Status: RESOLVED WONTFIX
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-10-01 15:50 CEST by Sven Gothel
Modified: 2013-10-02 01:17 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
01c5d59c5245068b0d005ccbb64f8d0aa5165f12 3c9812c130fac9237a2dc2e18a6639ec3583eed7 ca7a1864a1624539048809d0a1c491f57c145d15
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ..