[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Using Equinox Declarative services in another OSGI framework
- From: Alin Dreghiciu <adreghiciu@xxxxxxxxx>
- Date: Mon, 9 Mar 2009 14:21:29 +0200
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=RNqQy1A4+wqW4XBT6307DMNFy0gG7ZVoIcuaLiJNgLkIXpHlfkPdFWOYW2TMolSQMh 7F1rVfUZEdeCxIl3NkIlSN/e3cxxn/OeYi0cu7iMsyMqTdMYN6vM+pukxp0eevRAeh52 5w5rDMqJYpCs+JwWCb6aw6c6Hiaumx8xEd07w=
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
http://www.ops4j.org - New Energy for OSS Communities - Open
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
Sent from: Cluj-napoca Cj Romania.