How to use JOGL with OSGI
Posted by Daniel S. on Dec 02, 2010; 2:31pm
URL: https://forum.jogamp.org/How-to-use-JOGL-with-OSGI-tp2006160.html
Hi,
I'm trying to develop an application with JOGL and the OSGi framework concierge.
But I'v got some problems to start my OSGI framework with JOGL because of the native code libs of JOGL.
Have anybody developed an OSGI application with JOGL or other librarys which contain native code and can give me a short example how to include my native libs?
Currently my project contains a folder librarys with the extracted JOGL jars (these has to be extracted because of the Concierge specifications in matter of the class loading aspect in OSGI) and the .dll files.
My OSGi manifest file looks like:
...
Bundle-RequiredExecutionEnvironment: OSGi/Minimum-1.0
Import-Package: org.osgi.framework;specification-version="1.5.0
Bundle-NativeCode: librarys/gluegen-rt.dll ; osname=Win32; processor=x86,
librarys/nativewindow_awt.dll; osname=Win32; processor=x86
Bundle-ClassPath: librarys/com/,
librarys/javax/
Thanks in advance
Daniel