Question

We are developing a Netbeans RCP application that includes NB modules, and OSGi modules. Focus of the problem is within the OSGi bundles. So I will explain about the details with the OSGi bundles.

In this RCP application, OSGi bundles are formed as Netbeans clusters. And these clusters are included in Netbeans Platform application. Everything is okay until now. We can run OSGi bundles in Netbeans platform app with success.

But, when we try to untick a specific OSGi bundle in included cluster( in Netbeans Platform App project ), Netbeans platform application does not simply turns off the OSGi module. It still continues to load it with application.

When the same action is done with a Netbeans module(not an OSGi module), this problem does not occur, simply module is disabled and unloaded.

Netbeans version is 7.3.1, we have tried cleaning cache, suite build etc.. But no success. I have to mention also that OSGi declarative services are used( one of the possible suspects also )

Is there any way to specialize which OSGi modules in a cluster will be included in main Netbeans Platform Application ?

Thanks...

Was it helpful?

Solution

This sounds like a bug to me. You should report it here, a small test case should speed up the bug report.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top