Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 211611 - Use Require/Provided-Capabilities for NetBeansInOSGi
Use Require/Provided-Capabilities for NetBeansInOSGi
Product: platform
Classification: Unclassified
Component: Netigso
All All
: P3 (vote)
: 7.3
Assigned To: Jaroslav Tulach
Depends on:
Blocks: 210325
  Show dependency treegraph
Reported: 2012-04-23 23:09 UTC by Jesse Glick
Modified: 2014-05-26 05:08 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-04-23 23:09:09 UTC
Splitting this off from bug #210325 since it does not seem necessary for 7.2.
Comment 1 Jesse Glick 2012-04-24 12:59:59 UTC
My original assumption was that NB tokens would map directly to capability names with no qualifications:

OpenIDE-Module-Provides: some.Interface
OpenIDE-Module-Requires: another.Interface


Provide-Capability: some.Interface
Require-Capability: another.Interface

Yarda however suggested another idiom:

"For our purposes we could probably define org.netbeans.token
capability. With attribute token and use it like:

OpenIDE-Module-Provides: xyz

Provide-Capability: org.netbeans.token;token:String=xyz

for providing. And for requiring, needing or recommending:

Require-Capability: org.netbeans.token;resolve:=mandatory/optional;

Not sure if the more complex idiom offers some advantages.
Comment 2 Jaroslav Tulach 2014-05-26 05:08:29 UTC
No plans to work on this any time soon.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo