plugin cannot startup [message #49542] |
Tue, 23 August 2005 22:57  |
Eclipse User |
|
|
|
Hello all,
I'm new to OSGi. So I developed a new plugin based on OSGi, and export it
as a jar.
But now I don't know how to start it.
In OSGi console, I install the bundle. But when I start it, it shows that
it depends on other system
bundles(example,org.eclipse.ui,org.eclipse.core.runtime), and others
depends on others. So should I install & start all the other system
bundles, then can I run my bundle(plugin)?
Or are there any relevant documents?
Appreciate your help!
|
|
|
Re: plugin cannot startup [message #49575 is a reply to message #49542] |
Tue, 23 August 2005 23:21   |
Eclipse User |
|
|
|
Originally posted by: pascal.ibm.canada
In eclipse there is a bundle whose role is to find and install all other
bundles. It is called org.eclipse.update.configurator.
It gets automatically started on startup of osgi because it is listed on
the osgi.bundles property of the config.ini.
If you want your bundle to be also automatically started, I recommend
you to add it to the config.ini list.
HTH
PaScaL
zbw wrote:
> Hello all,
>
> I'm new to OSGi. So I developed a new plugin based on OSGi, and export
> it as a jar.
> But now I don't know how to start it.
>
> In OSGi console, I install the bundle. But when I start it, it shows
> that it depends on other system
> bundles(example,org.eclipse.ui,org.eclipse.core.runtime), and others
> depends on others. So should I install & start all the other system
> bundles, then can I run my bundle(plugin)?
>
> Or are there any relevant documents?
>
> Appreciate your help!
>
|
|
|
Re: plugin cannot startup [message #49605 is a reply to message #49575] |
Tue, 23 August 2005 23:38  |
Eclipse User |
|
|
|
Thank you, PaScaL
I did what you suggested, and it's OK! :-)
But if I choose to install and start my bundle in console, it shows that
it depends on other system bundles. WHY org.eclipse.update.configurator
didn't work? I know there's something wrong with my work? Can you still
suggest?
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.04633 seconds