Re: Packaging JOGL as an OSGi bundle using Apache Maven and Felix
Posted by
elemings on
Nov 04, 2015; 3:17pm
URL: https://forum.jogamp.org/Packaging-JOGL-as-an-OSGi-bundle-using-Apache-Maven-and-Felix-tp4035678p4035734.html
After a lot of Google searching, I finally found this which led me to a working solution:
https://github.com/BaderLab/cy3d-impl/blob/master/src/main/java/org/baderlab/cy3d/internal/JoglInitializer.java.
Even this implementation was written for a slightly older Jogl version and needs tweaks to make it work for Jogl 2.3.x. On the plus side, it (mostly) uses OSGi common interfaces so it should work with Equinox, Felix, or any other OSGi platform.
I'll post a more elegant solution once I have all of the kinks worked out.