Require Capability UI in bndtools?

Hi.

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?

Thanks,

Scott

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:
image

This allows you to search via a requirement:
image

1 Like