Manifest gets messed up by bnd tool


(Rolf Kocheisen) #1

Hi Forum

I’m working with an eclipse workspace that contains a set of osgi bundles. When I export my application from the workspace, it works fine, but when I use the gradle build, the resulting jar files are not working. I think the issue is the manifest file creation/merge. The manifests that are produced in the gradle build have import statements and version specifications that my original Manifest does not have.

Is there a way to suppress the merge of the manifests and/or prevent the bnd tool from messing with them?

Thanks


(Peter Niederwieser) #2

The purpose of the bnd tool is to generate OSGi manifests. If you don’t need this functionality, simply don’t apply the ‘osgi’ plugin.