Many thanks that is the next step once I work out the native lib bundle issues.
-Tony ----- Original Message ---- From: Charles Moulliard <[email protected]> To: [email protected] Sent: Mon, September 27, 2010 12:44:57 AM Subject: Re: 3rd party jars... Hy Toni, Here is the maven plugin that we use in Apache projects (Camel, ServiceMix, Karaf) --> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html. It will help you using Maven + Eclipse to generate the manifest file of your bundle. To deploy your component on Felix or better Karaf, I suggest that you use the osgi:install -s command or features provisioning mechanism of Karaf (http://karaf.apache.org/46-provisioning.html). Regards, Charles Moulliard Senior Solution Architect - Fuse Consultant Open Source Integration: http://fusesource.com Blog : http://cmoulliard.blogspot.com Twitter : http://twitter.com/cmoulliard Linkedin : http://www.linkedin.com/in/charlesmoulliard Skype: cmoulliard On Mon, Sep 27, 2010 at 8:01 AM, Tony Anecito <[email protected]> wrote: > Hi, > > I tried bnd and it seems to work fine with the non-native jars but it seems to > not create the Bundle-NativeCode: in the bar manifest file. > Is there some config file I have to create that bnd reads that will help it to > know what to do? > > Seems to me like putting all the native libs for all the OS's in a single bar > file wastes network bandwidth or is there something I am not understanding? > > Thanks, > -Tony > > > > ----- Original Message ---- > From: LongkerDandy <[email protected]> > To: [email protected] > Sent: Sun, September 26, 2010 10:03:19 PM > Subject: Re: 3rd party jars... > > You can do it with ant, the BND tool can act as the ant task. > > On Mon, Sep 27, 2010 at 12:00 PM, Tony Anecito <[email protected]> wrote: > >> Thanks I will look into Maven. I have used Ant for years and like it but if >> the >> bundling of 3rd party jars is not supported under Ant then I will look at >> Maven. >> >> -Tony >> >> >> >> ----- Original Message ---- >> From: LongkerDandy <[email protected]> >> To: [email protected] >> Sent: Sun, September 26, 2010 9:56:08 PM >> Subject: Re: 3rd party jars... >> >> I think you can use the BND tool or Maven plugin to wrap it. >> Or you can embed it to your bundle, but this way it may not be seen by >> other >> bundles. >> >> Regards >> LongkerDandy >> >> On Mon, Sep 27, 2010 at 11:52 AM, Tony Anecito <[email protected]> >> wrote: >> >> > Hi All, >> > >> > If you have a 3rd party jar how does it get included? Seems like OSGi >> > requires >> > the manifest to be modified which might be an issue. When "bundled" is >> > there >> > another manifest created for OSGi? >> > >> > Thanks, >> > -Tony >> > >> > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [email protected] >> > For additional commands, e-mail: [email protected] >> > >> > >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

