-
Hi, in my NBP application (currently based on NBP 16), I use both NetBeans as well as OSGi modules; now, after some This currently results in a situation where e.g. the BundleActivator of the API bundle is successfully invoked, but the As a workaround, I can add the implementation bundle as a dependency to any of the NetBeans modules and everything |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your cluster / bundle might have autoload enabled. From https://netbeans.apache.org/tutorials/nbm-emf.html "Autoload" means that a module is turned on only when needed. In contrast to regular modules, which require some manual action, the autoload modules are opaque for users and are managed solely by the infrastructure. As soon as there is a module needing, via its dependencies, an autoload module, the infrastructure enables it. I don't have an app to test it, but: If your app is Ant based, I think you need to re-import the cluster (and delete the old config and update_tracking files). From there you can select how the bundle should be activated. Example in the tutorial: https://netbeans.apache.org/tutorials/nbm-emf.html If you app is Maven based, I think you can change it with the NBM plugin. There is some info here: https://bits.netbeans.org/mavenutilities/nbm-maven-plugin/nbm-maven-plugin/index.html |
Beta Was this translation helpful? Give feedback.
Your cluster / bundle might have autoload enabled. From https://netbeans.apache.org/tutorials/nbm-emf.html
"Autoload" means that a module is turned on only when needed. In contrast to regular modules, which require some manual action, the autoload modules are opaque for users and are managed solely by the infrastructure. As soon as there is a module needing, via its dependencies, an autoload module, the infrastructure enables it.
I don't have an app to test it, but:
If your app is Ant based, I think you need to re-import the cluster (and delete the old config and update_tracking files). From there you can select how the bundle should be activated. Example in the tutorial: https://netbeans…