Re: [equinox-dev] [p2-dev] Best way to contribute values (eg PGP keys) with OSGi?

2021-12-01 Thread Mickael Istria
On Wed, Dec 1, 2021 at 5:08 PM Thomas Watson wrote: > For example, define a new capability namespace called > "org.eclipse.equinox.p2.pgp.key". I'm not sure what sorts of attributes > you need to describe the pgp key outside of just the path to the file in > the resource. But you could have an

Re: [equinox-dev] [p2-dev] Best way to contribute values (eg PGP keys) with OSGi?

2021-12-01 Thread Thomas Watson
If all you need is a path to some resource in a bundle then there is no need for a custom header or a custom service interface.  I recommend you define your own capability namespace and define a set of attributes that describe the capability for such a namespace.   For example, define a new capabil