Q: How can I use @ProviderCapability and @RequireCapability Annotations?

A: Add the bundle biz.aQute.bnd.annotation to your bnd.bnd. It can be found in the latest release version in maven central. Note: These Annotations will move with R7 directly in the osgi spec and bundles and will be supported directly by bnd.

Advertisements

Q: A previously working .bndrun suddenly stops working with a message like: No associated cnf project found.

A: Open the eclipse Debug or Run Confiurations and delete the corresponding launchconfig. Afterwards go to you .bndrun and start it again.