[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Autostarting required plugins

Abhishek,
 
Take a look at:
 
http://www.eclipse.org/equinox/quickstart.html
 
Pay particular attention to the section titled "Configurations and all that...".
 
You can use the "org.eclipse.core.runtime" and "org.eclipse.update.configurator" bundles along with the "Eclipse-AutoStart" manifest header to automatically install and start your bundles.
 
See more on Eclipse-specific bundle manifest headers at http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/bundle_manifest.html  or look at the help contents of your Eclipse install.
 
- Ben
 
On 2/13/06, Abhishek Verma <abhishekv@xxxxxxxxxxxxxxxx> wrote:
How do I autostart the plugins on which my plugin depends. Here is the
scenario.

Plugin C requires plugin A and plugin B.

Plugin C uses services registered by both the plugins. But when I try to
use the services in plugin C, I get an error. This is because plugin A
and B have not been started. I tried doing it this way and it worked.

osgi.bundleclipse.product=A.pro
es=A,B@2:start,C@2:start,org.eclipse.core.runtime@2:start
osgi.bundles.defaultStartLevel=4

But I am looking for a method which would autostart all my dependencies
when I start the plugin C. Any ideas how can this be done?

Thanks
Abhishek
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev