ffmpeg-cli-wrapper icon indicating copy to clipboard operation
ffmpeg-cli-wrapper copied to clipboard

Add manifest attributes to make library OSGi aware

Open GooDer opened this issue 6 years ago • 3 comments

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 avatar Mar 08 '18 10:03 GooDer

@GooDer What exactly is the benefit of implementing this? Is it not possible to use regular libraries when developing for OSGi?

Euklios avatar Mar 13 '24 15:03 Euklios

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.

GooDer avatar Mar 14 '24 06:03 GooDer

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.

bramp avatar Mar 14 '24 06:03 bramp