We are migrating from a monolithic PDE build to a p2-enabled, bare-bones product and installing features from our p2 repo. Our product has a config.ini with several entries under "osgi.bundles", indicating specific plugins' start level when the application starts. Those plugins now may or may not get installed. When their referencing features do get installed though, those plugins will again need to be started when the application starts.
What's the best strategy here? Can our trimmed config.ini have the required entries added when their referencing feature is installed? Do we have to use the "startup" extension or perhaps DS services?