Using equinox.ds in RCP [message #108939] |
Mon, 28 April 2008 16:29  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04306 seconds