Re: OSGi: need J3D 1.6 source code for a patch
Posted by JeanPhi on Dec 16, 2013; 11:02am
URL: https://forum.jogamp.org/OSGi-need-J3D-1-6-source-code-for-a-patch-tp4030430p4030913.html
Hi all, I had time to go back to J3D :)
Here are my findings:
* Yes you are right, I did patch 1.5.2 instead of 1.6.0
* 1.6.0 does still not contain OSGi manifest headers, but...
* 1.6.0 now works without the code modification I mentioned (which was mandatory for 1.5.2)!
There are few things to do to make J3D a bundle. The simplest way is to create a single jar file (a kind of meta project) containing j3dcore.jar, j3dutils.jar and vecmath.jar, as well as all native resources. Then add a proper manifest to this archive.
The manifest must expose imported/exported packages, specify a bundle-classpath pointing to j3dcore/j3dutils/vecmath and the bundle-nativecode describing the different native libraries plus the OS/processor they are related to.
PS: tests made with pre1-1011070159
PS2: I did also make JOGL a bundle
JP