JOGL with OSGi
Posted by Jar on Feb 24, 2012; 10:00pm
URL: https://forum.jogamp.org/JOGL-with-OSGi-tp3773888.html
Hi, I'm trying to repackage JOGL as an OSGi bundle.
Currently, I repack all the gluegen and JOGL code jars into a single jar. Then, I deploy that jar as an OSGi bundle after wrapping it with the bnd tool to add the Export-Package metadata.
However, I'm not sure where the jars containing the native libraries should go. I could create a jar containing all the .dll, .so, and .jnilib files and make it an OSGi fragment and add Bundle-NativeCode metadata. But that didn't seem to work.
What are some working ways that you have used to turn JOGL into OSGi bundles?
Thanks,
Programmer