On 23 January 2015 at 16:56, Felix Meschberger <fmesc...@adobe.com> wrote: > Another idea, and that would maybe be an extension to BND itself (if not > already existing), is that if a dependency happens to both have export > version numbers *and* Provide-Capability, then BND would generate a > version-less import but add a Require-Capability ??
Actually, yes, BND could be really smart here, since the contract information is available as JSON from [3]. It could check any imports against that JSON and generate the appropriate require-capability on the contract and leave out the version on the import for packages that are listed in [3]. Cheers, David [3] http://www.osgi.org/wiki/uploads/Specifications/contracts.json --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org