Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add OSGi meta-data to the jar #19

rocketraman opened this Issue Nov 18, 2012 · 2 comments


None yet
3 participants

I would like to use leveldbjni in an OSGi environment. I was able to add the OSGi meta-data to a pre-built leveldbjni jar and make it work correctly. However, it would be great if this could be applied upstream. I would have applied it directly here, but the build is a little different than most java projects because of the native code, so I wasn't sure how to correctly modify the build for this.

I did, however, create a servicemix-bundle that adds the meta-data after the fact. It is likely the logic there can be used directly on the upstream project, without the shade part:


If this can be added in the project, then I won't bother submitting the servicemix patch as it will be obsolete.


fordguo commented Feb 22, 2013

It's cool,but it does not work on mac os.
I give the processor attribute,worked!


chirino commented Apr 16, 2013

Thanks, next release should have that fixed.

@chirino chirino closed this Apr 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment