Hi,
I am trying to write an OSGi requirement for -runrequires
that will match every candidate on the runtime classpath. I thought that adding cardinality:=multiple
would do the trick, but even that still stops after only the first match.
Basically, I am trying to identify every bundle whose com.foo
capability has value bar
:
-runrequires:
com.foo;filter:='(com.foo=bar)';cardinality:=multiple
Does OSGi’s Requirement / Capability model support what I am trying to do here, please?
Thanks,
Chris