Hi, Just to let you know that this issue is now fixed on trunk. You should be able to use either SPI-Consumer or Require-Capability headers with static weaving. For more details see https://issues.apache.org/jira/browse/ARIES-1156 and https://issues.apache.org/jira/browse/ARIES-1157
Tovi, I would appreciate if you could check that it works in your environment too. Cheers, David On 5 February 2014 15:16, David Bosschaert <[email protected]> wrote: > On 5 February 2014 14:55, Tovi Almozlino <[email protected]> wrote: >> I suppose I'll have to use the proprietary headers for now, unless you guys >> can have this fixed by next week! FYI, what I'm working on is a plugin for >> Cytoscape 3.0.x, which uses an old (pre-2.3) version of Karaf. > > I can have a look at it sometime in the near future, but if you need > it earlier you can always propose a patch ;) > >> By the way, about providers: does the file in resources/services have to >> point at an implementation class contained WITHIN the provider bundle? Or >> can it point at any class whatsoever? > > I'm pretty sure that the class can be any class that the bundle has > visibility to, so that would include classes in the bundle, its > fragments, packages imported via Import-Package and bundles wired via > Require-Bundle... > > Cheers, > > David
