How to autorun org.eclipse.gemini.blueprint.extender in an application based on eclipse rcp features?

I have an eclipse rcp application that uses a gemini project. It has two functions and, therefore, a product based on characteristics. Some of our packages depend on the service that is created using the drawing expander. But in fact, the drawing expander is only allowed at startup and is not activated. Today we get around this by executing code in the package activators, which checks if the org.eclipse.gemini.blueprint.extender package has been launched, and if it is not running.

Adding a package to .product with an entry level of 3 and autoStart=true has no effect. I think this is due to the fact that our product is based on characteristics. It's right? What is the best way to auto-configure an expander?

+6
source share
2 answers

You need to edit the configuration / config.ini file and add the set you want to run to the osgi.bundles property. For instance:

osgi.bundles=<existing entries>, org.eclipse.gemini.blueprint.extender@3 :start

+2
source

Have you tried to set the initial level to 0 and automatically start from the truth? This one has a suggestion. Maybe this can help you.

0
source

Source: https://habr.com/ru/post/945244/


All Articles