Skip to main content



      Home
Home » Eclipse Projects » Equinox » plugin cannot startup
plugin cannot startup [message #49542] Tue, 23 August 2005 22:57 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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!
Previous Topic:Why using .jar file plugins for platform fragments?
Next Topic:Eclipse-JAAS: RCP security framework kind-of available
Goto Forum:
  


Current Time: Wed May 07 17:44:02 EDT 2025

Powered by FUDForum. Page generated in 0.04633 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top