This post covers Eclipse Early start: How to ensure eclipse plugin has required bundles available?
This post covers configuring your plugin for "early start" after installed via p2 update: Require-Bundle and Import-Package versus feature.xml requires
This wiki entry covers Eclipse lazy start: http://wiki.eclipse.org/Lazy_Start_Bundles
In my case, I am loading a bundle (Apache Wink) that is required by my plugin bundle, and I need to ensure it is ACTIVE when my plugin is called. It is not enough that it present, what I mean is, I do not need to import any of its packages I just need it running so my plugin can do HTTP communication with it. I'm thinking of two solutions and would appreciate feedback on either, or welcome suggestions I haven't considered:
- Configure it for early start up so it starts when Eclipse starts (via extension). Since I am not author of the Wink Bundle I'm thinking of adding a fragment that implements the IStartup class. early start extension is generally frowned upon, so maybe:
- In my Activator, search for the bundle and activate if it is not already activated. problems?