Re: Provide-Capability in manifest

2017-07-15 Thread David Leangen
Sorry about that. My original question was off track due to my lack of understanding about how bnd works. I had not made the connection between DS and bnd's header processing. Since the services provided in the code are not DS components, there is no way for bnd to pick them up. I understand t

Re: Provide-Capability in manifest

2017-07-15 Thread David Jencks
I’m getting more and more confused :-( Are the services you’re trying to advertise implemented with DS components? Looking at the bnd code I don’t see how it can be replacing any provide service header parts. Can you explain in detail the scenario that “won’t work”? thanks david jencks > O

Re: Provide-Capability in manifest

2017-07-14 Thread David Leangen
>> On Jul 13, 2017, at 6:23 PM, Mark Derricutt wrote: >> Which set of annotations are you using? > On Jul 15, 2017, at 4:02 AM, David Jencks wrote: > I would be interested to know what the gradle magic is…. I am not a deep expert in bnd, but I did a quick investigation. I think that bnd loo

Re: Provide-Capability in manifest

2017-07-14 Thread David Jencks
That would only be relevant if David has a DS component. DS itself is not a DS component and although I haven’t looked I rather doubt the converter service is either. I don’t know if there’s going to be a more focussed non-DS annotation for this in R7. There might be a bnd annotation. I woul

Re: Provide-Capability in manifest

2017-07-13 Thread Mark Derricutt
On 14 Jul 2017, at 10:53, David Leangen wrote: > Working with gradle, these headers are generated automagically, but I’m not > sure what the magic is behind it. For me, with the bundle-maven-plugin - using the newer org.osgi annotations will generate those entries, but using the felix scr annot

Re: Provide-Capability in manifest

2017-07-13 Thread David Leangen
Thanks, David. I ended up writing it manually as well. Working with gradle, these headers are generated automagically, but I’m not sure what the magic is behind it. Cheers, =David > On Jul 14, 2017, at 7:34 AM, David Jencks wrote: > > I wrote it manually (in a bnd.bnd file) for DS. If Pe

Re: Provide-Capability in manifest

2017-07-13 Thread David Jencks
I wrote it manually (in a bnd.bnd file) for DS. If Peter has thought up some way of generating this since then you are more likely to find out about it asking on the bnd list. david jencks > On Jul 11, 2017, at 5:06 AM, David Leangen wrote: > > Hi! > > Without having to write it in manually

Provide-Capability in manifest

2017-07-11 Thread David Leangen
Hi! Without having to write it in manually, how can I change the pom to get the Converter projects to output the Provide-Capability manifest headers (particularly for the osgi.servic;objectClass…)? Currently, they are not being generated by the maven-bundle-plugin (v3.2.0). Cheers, =David