Require Capability UI in bndtools?


I know that a Require-Capability can be added in bnd file for project, but curious:

Is there any bndtools/Eclipse UI for adding Require-Capability with appropriate attributes/values?..e.g. that would look only in bundles in workspace repos with Provide-Capabilities?



To my knowledge there is no UI for adding Requirements. You can Use @Requirement Annotations, to make it a bit easier.

There is however a way to test a requirement, that might be helpful.

In the Repository View of bndtools there is an advanced search:

This allows you to search via a requirement:

1 Like