How do I stop an Eclipse Feature from starting after it's been installed

ⅰ亾dé卋堺 提交于 2019-12-06 13:46:45
positron

I think you will have better luck with p2 director. As to why some artifacts are available, probably because your plugins are installed (you can check with osgi console) but are not started.

.

You'll want to have a look at the <eclipse_home>/configuration/config.ini file and the osgi.bundles property

See the eclipse help:

osgi.bundles

The comma-separated list of bundles which are automatically installed and optionally started once the system is up and running. Each entry is of the form:

<URL | simple bundle location>[@ [<start-level>] [":start"]]

The start-level indicates the OSGi start level at which the bundle should run. If the start-level (>0 integer) is omitted then the framework will use the default start level for the bundle. If the "start" tag is added then the bundle will be marked as started after being installed.

I think you should be able to achieve what you want to do by adding you bundle to that list and not having it listed as "start"´and/or changing the startlevels between you plugins so that one starts before the other.

Also, check out Dude, where's my bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!