Login  Register

Re: How to use JOGL with OSGI

Posted by Wade Walker on Dec 07, 2010; 2:26pm
URL: https://forum.jogamp.org/How-to-use-JOGL-with-OSGI-tp2006160p2033720.html

Daniel S. wrote
Unfortunately the Concierge Framework doesn't support fragments.
Hi Daniel,

I haven't used the Concierge framework, but I can think of two possible solutions:

1. If you only have to run on one platform, you can remove the JOGL fragment projects, then put the .dll/.so files from that one platform into the one remaining JOGL main project. Put the "platform filter" string from the platform you want into the JOGL main project too.

2. If you still have to be cross-platform, you might be able to remove the main JOGL project, put the .jar files into all the JOGL fragment projects, then convert the fragments to "full" projects. This loses the advantage of only having to include the .jar files once, but it might work.