[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Using Equinox Declarative services in another OSGI framework

Not sure if you did already but a bug report here would be useful.  Anything that makes stuff easier to use is a good thing.


Alin Dreghiciu wrote:
Thanx Stuart.
That resolved the import problem so now DS is up and running (using
the supplement bundle).
In this case, as debug stuff is not so important and can work without
debug stuff based on system params I would rather make the imports
optional then having to bring in just another bundle to make it
resolve. Even more in this case as the DebugOptions service is not
there the supplement bundle is not of any use beside exporting the
debug package. So, if I have the supplement bundle in I would expect
that the supplement bundle is also publishing service implementations
for the services it can, and this supplement bundle just has the
classes (api + some impl) but not use them as there is no bundle
Could be that this (publish the services) is not possible outside
Equinox system bundle, is that the case?

On Mon, Mar 9, 2009 at 10:05 AM, Stuart McCulloch <mcculls@xxxxxxxxx> wrote:
2009/3/9 Alin Dreghiciu <adreghiciu@xxxxxxxxx>
Hi Guys,

I was trying to use Declarative Services implementation from equinox
in another OSGi framework and looks like that is not possible.
DS has an import on org.eclipse.osgi.service.debug;version="1.0"
package that I could only find in the Equinox framework itself.
Is it available from somewhere else?
Hi Alin,

have you looked in the org.eclipse.equinox.supplement bundle?
I'm using this to run the Eclipse extension point registry on Felix
which also needs that debug import

You can find releases of org.eclipse.equinox.supplement here:


just pick from either the 3.4 / 3.5 stream

If not, can the org.eclipse.osgi.service.debug be made available at
least as a separate bundle, even better together with DebugOptions

Another simpler option would be to make this import optional and
handle the fact that package is not available in the DS Activator,
case when DS can work as in case that no DebugOptions service is
available = using system properties.

Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://www.codedragons.com - New Energy for Projects - Great People
working on Great Projects at Great Places
equinox-dev mailing list
Cheers, Stuart

equinox-dev mailing list