Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Using equinox.ds in RCP
Using equinox.ds in RCP [message #108939] Mon, 28 April 2008 20:29 Go to next message
Hannes Niederhausen is currently offline Hannes NiederhausenFriend
Messages: 18
Registered: July 2009
Junior Member
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 15:10 Go to previous message
Dennis O'Flynn is currently offline Dennis O'FlynnFriend
Messages: 73
Registered: July 2009
Member
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: Sat Apr 27 02:51:04 GMT 2024

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

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

Back to the top