Hi,
I have already learnt that -runsystemcapabilities
can declare dynamic services for the sake of Bnd’s resolver, e.g.
-resolve.effective: resolve,active
-runsystemcapabilities: osgi.service;objectClass:List<String>='org.testing.Function1';effective:=active
I would also like to add dynamic service requirements to the resolver. However, I am not having any success using -runrequires
like this:
-runrequires: osgi.service;objectClass:List<String>='org.testing.Function2';effective:=active
Have I made a syntax error here please? Or does Bnd simply not support doing this?
Thanks,
Chris