Hello, I played with the new Bndtools from Neil Bartlett (http://njbartlett.name/2011/03/23/towards-maven-support-in-bndtools.html) to compare it to the Maven Tycho build tool.
Now I have a question about the usage of maven-bundle-plugin / bnd. Maybe, this is the wrong place. Then I would be happy to know a better place to ask. Tycho uses some Eclipse tools to build OSGi bundles and is aware of the class visibilitiy depending on the MANIFEST.MF contents. It throws an error if a not exported class from BundleA will be used in BundleB. The maven-bundle-plugin does not throw such an error. It creates a bundle, which will not be able to start because of a missing dependency to a not exported package. https://github.com/lfischer/bndtools-investigation shows a small example. The Bundle "org.example.bndtools.comp" implements two interfaces from the "org.example.bndtools.api" bundle. The package of the used interface ISystemComponent is not exported, but the bundle will be build without any hint. Is there a way to detect such things at build time? Best regards, Lars --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

