This content has been marked as final.
Show 2 replies
-
1. Re: NPE on Karaf install
ffang May 8, 2012 8:52 PM (in response to simplex-software)Hi,
Though wrap should work, especially when you append OSGi metadata header instructions with wrap, we don't recommend to use wrap especially in production. We suggest you use maven-bundle-plugin or bnd tool to generate a bundle to make this jar OSGi friendly.
Freeman
-
2. Re: NPE on Karaf install
simplex-software May 9, 2012 8:37 AM (in response to ffang)Hi,
Many thanks. I can't use maven plugin as it is a binary that I have to install on Karaf and this binary doesn't come with OSGi bundles. Of course, I could build from sources but I think that bnd approach would be easier. I'll have a look at it but I thought that using bnd is equivalent to use wrap. At least this is what the documentation states.
But okay, I noticed that this is not recommended in production.
Kind regards,
Nicolas