Confirm OSGi manifest

What is the best way to parse and validate an OSGi manifest file? I have a bunch of MANIFEST.MF files and there is a syntax error in one of them. What is the best tool for this? I would prefer not to download all packages in Eclipse to find the problem.

+3
source share
2 answers

It looks like a BND tool can provide such a manifest check, but I'm not sure how ...

OK. According to the command line page you can do

 bnd print -verify *.jar

to check the validity of the cans.

, Eclipse, , Felix bundle, BND.

+2

Spring - com.springsource.util.osgi.manifest.BundleManifest.

0

All Articles