6

I have an eclipse rcp application that uses gemini blueprint. It has two features and hence a feature based product. Some of our bundles depend on service that where created by the blueprint extender. But actually the blueprint extender is only resolved on startup and not activated. Today we work around this by executing code in bundle activators, that checks if the org.eclipse.gemini.blueprint.extender bundle was started and if not it gets started.

Adding the bundle to the .product with a start level of 3 and autoStart=true has no effect. I think this is because our product is feature based. Is this correct? What is the best way to autostart the extender?

4

2 回答 2

2

您需要编辑 configuration/config.ini 文件并将要启动的包添加到 osgi.bundles 属性。例如:

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

于 2013-05-24T12:30:52.173 回答
0

您是否尝试将启动级别设置为 0 并将自动启动设置为 true?链接中有一个建议。也许它可以帮助您。

于 2013-05-22T12:37:33.633 回答