ffmpeg-cli-wrapper
ffmpeg-cli-wrapper copied to clipboard
Add manifest attributes to make library OSGi aware
To be able to use this library in OSGi container there should be more attributes in manifest file related to OSGi.
You can see examples here: https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.osgi.doc/ae/ra_bundle_mf.html
There should be also maven plugin which can generate these: http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html
@GooDer What exactly is the benefit of implementing this? Is it not possible to use regular libraries when developing for OSGi?
Hi @Euklios, yes it is not possible to use standard java libraries in OSGi if they don't contain this definition. You have to repack the library and add it to there, which is not the most convenient solution.
I think it's clear that myself or @Euklios would have to learn about these manifest, and wouldn't use it in our normal day to day. So @GooDer if you are willing, it would be great if you could send over a PR to incorporate this. It sounds like you might have already done some of the work if you've repacked this library before.