Skip to main content



      Home
Home » Eclipse Projects » Equinox » Using equinox.ds in RCP
Using equinox.ds in RCP [message #108939] Mon, 28 April 2008 16:29 Go to next message
Eclipse UserFriend
Hi,

I started to try the declarative services plugin for my rcp, but have a
quite odd problem.

After starting my application, my service wasn't available. After locking
into the service and bundle lists with the equinox console, the problem
seems to be, that the equinox.ds bundle isn't started, when my rcp starts.

After starting the bundle in the console my service was found and worked.

My Question is now, how can I tell my RCP Application to start the bundle on
startup.

I tried the startup extesion but it didn't work.

Has anybody a hint for me?

Thanks in advance
Hannes
Re: Using equinox.ds in RCP [message #110127 is a reply to message #108939] Thu, 15 May 2008 11:10 Go to previous message
Eclipse UserFriend
Try updating the "osgi.bundles" property within config.ini to contain the
following...

osgi.bundles=...,org.eclipse.equinox.util@2:start,org.eclipse.equinox.ds@3:start,...

This should automatically start DS before you RCP application is started.

"Hannes Niederhausen" <el_bosso@gmx.de> wrote in message
news:fv5c1h$t9v$1@build.eclipse.org...
> Hi,
>
> I started to try the declarative services plugin for my rcp, but have a
> quite odd problem.
>
> After starting my application, my service wasn't available. After locking
> into the service and bundle lists with the equinox console, the problem
> seems to be, that the equinox.ds bundle isn't started, when my rcp starts.
>
> After starting the bundle in the console my service was found and worked.
>
> My Question is now, how can I tell my RCP Application to start the bundle
> on
> startup.
>
> I tried the startup extesion but it didn't work.
>
> Has anybody a hint for me?
>
> Thanks in advance
> Hannes
Previous Topic:Buddy class loading
Next Topic:Debug class loading issues, specific to exported product
Goto Forum:
  


Current Time: Mon Jul 07 11:08:26 EDT 2025

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

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

Back to the top