|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
bnd/ipojo ant tasksA bundle that I'm creating has dependencies on native libraries. Thus I need to use the Bundle-NativeCode: in the MANIFEST.MF.
However, I don't see anything in the BND or IPOJO tasks that would allow me to do this. I've found Include-Resource for the BND file, which then copies the libraries into the bundle jar, but I can't seem to figure out how to include Bundle-NativeCode: ________________________________ Joel Schuster Senior Software Engineer NAVSYS Corporation 14960 Woodcarver Road, Colorado Springs, CO 80921 719-481-4877 |
|
|
Re: bnd/ipojo ant tasksOn 7/2/09 2:14 PM, Joel Schuster wrote:
> A bundle that I'm creating has dependencies on native libraries. Thus I need to use the Bundle-NativeCode: in the MANIFEST.MF. > > However, I don't see anything in the BND or IPOJO tasks that would allow me to do this. I've found Include-Resource for the BND file, which then copies the libraries into the bundle jar, but I can't seem to figure out how to include Bundle-NativeCode: > Just specify it in the normal bnd instructions just like any header, it will be copied into the resulting manifest. -> richard > ________________________________ > > Joel Schuster > Senior Software Engineer > NAVSYS Corporation > 14960 Woodcarver Road, Colorado Springs, CO 80921 > 719-481-4877 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: bnd/ipojo ant tasks2009/7/3 Joel Schuster <joels@...>
> A bundle that I'm creating has dependencies on native libraries. Thus I > need to use the Bundle-NativeCode: in the MANIFEST.MF. > > However, I don't see anything in the BND or IPOJO tasks that would allow me > to do this. I've found Include-Resource for the BND file, which then copies > the libraries into the bundle jar, but I can't seem to figure out how to > include Bundle-NativeCode: > the Bnd Tool will copy any instructions which start with an upper-case letter directly to the manifest so just put: Bundle-NativeCode: ...etc... in your Bnd instructions - if you're using the bundleplugin this would be: <instructions> <Bundle-NativeCode>...etc...</Bundle-NativeCode> </instructions> HTH > ________________________________ > > Joel Schuster > Senior Software Engineer > NAVSYS Corporation > 14960 Woodcarver Road, Colorado Springs, CO 80921 > 719-481-4877 > -- Cheers, Stuart |
|
|
Re: bnd/ipojo ant tasksHi,
Here is an example for RXTX : <Bundle-NativeCode> Windows/i386-mingw32/rxtxSerial.dll;Windows/i386-mingw32/ rxtxParallel.dll;processor=x86;osname=Windows XP, Linux/x86_64-unknown-linux-gnu/ librxtxSerial.so;processor=x86_64;osname=Linux, Linux/i686-unknown-linux-gnu/librxtxSerial.so;Linux/i686-unknown- linux-gnu/librxtxParallel.so;processor=x86;osname=Linux, Linux/ia64-unknown-linux-gnu/ librxtxSerial.so;processor=ia64;osname=Linux, Mac_OS_X/librxtxSerial.jnilib;osname=Mac OS X; processor=x86; processor=PowerPC, Solaris/sparc-solaris/sparc32-sun-solaris2.8/ librxtxSerial.so;processor=sparc;osname=Solaris;osversion=2.8, Solaris/sparc-solaris/sparc64-sun-solaris2.8/ librxtxSerial.so;processor=sparc64;osname=Solaris;osversion=2.8 Solaris/sparc-solaris/sparc64-sun-solaris2.8/ librxtxSerial.so;processor=sparc64;osname=Solaris;osversion=2.8 </Bundle-NativeCode> Of course, the targeted libraries must be inside the bundle. Regards, Clement On 02.07.2009, at 20:27, Stuart McCulloch wrote: > 2009/7/3 Joel Schuster <joels@...> > >> A bundle that I'm creating has dependencies on native libraries. >> Thus I >> need to use the Bundle-NativeCode: in the MANIFEST.MF. >> >> However, I don't see anything in the BND or IPOJO tasks that would >> allow me >> to do this. I've found Include-Resource for the BND file, which >> then copies >> the libraries into the bundle jar, but I can't seem to figure out >> how to >> include Bundle-NativeCode: >> > > the Bnd Tool will copy any instructions which start with an upper-case > letter directly to the manifest > > so just put: > > Bundle-NativeCode: ...etc... > > in your Bnd instructions - if you're using the bundleplugin this > would be: > > <instructions> > <Bundle-NativeCode>...etc...</Bundle-NativeCode> > </instructions> > > HTH > > >> ________________________________ >> >> Joel Schuster >> Senior Software Engineer >> NAVSYS Corporation >> 14960 Woodcarver Road, Colorado Springs, CO 80921 >> 719-481-4877 >> > > -- > Cheers, Stuart --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: bnd/ipojo ant tasksHow'd you know it was for rxtx? :)
________________________________________ From: Clement Escoffier [clement.escoffier@...] Sent: Thursday, July 02, 2009 12:45 PM To: users@... Subject: Re: bnd/ipojo ant tasks Hi, Here is an example for RXTX : <Bundle-NativeCode> Windows/i386-mingw32/rxtxSerial.dll;Windows/i386-mingw32/ rxtxParallel.dll;processor=x86;osname=Windows XP, Linux/x86_64-unknown-linux-gnu/ librxtxSerial.so;processor=x86_64;osname=Linux, Linux/i686-unknown-linux-gnu/librxtxSerial.so;Linux/i686-unknown- linux-gnu/librxtxParallel.so;processor=x86;osname=Linux, Linux/ia64-unknown-linux-gnu/ librxtxSerial.so;processor=ia64;osname=Linux, Mac_OS_X/librxtxSerial.jnilib;osname=Mac OS X; processor=x86; processor=PowerPC, Solaris/sparc-solaris/sparc32-sun-solaris2.8/ librxtxSerial.so;processor=sparc;osname=Solaris;osversion=2.8, Solaris/sparc-solaris/sparc64-sun-solaris2.8/ librxtxSerial.so;processor=sparc64;osname=Solaris;osversion=2.8 Solaris/sparc-solaris/sparc64-sun-solaris2.8/ librxtxSerial.so;processor=sparc64;osname=Solaris;osversion=2.8 </Bundle-NativeCode> Of course, the targeted libraries must be inside the bundle. Regards, Clement On 02.07.2009, at 20:27, Stuart McCulloch wrote: > 2009/7/3 Joel Schuster <joels@...> > >> A bundle that I'm creating has dependencies on native libraries. >> Thus I >> need to use the Bundle-NativeCode: in the MANIFEST.MF. >> >> However, I don't see anything in the BND or IPOJO tasks that would >> allow me >> to do this. I've found Include-Resource for the BND file, which >> then copies >> the libraries into the bundle jar, but I can't seem to figure out >> how to >> include Bundle-NativeCode: >> > > the Bnd Tool will copy any instructions which start with an upper-case > letter directly to the manifest > > so just put: > > Bundle-NativeCode: ...etc... > > in your Bnd instructions - if you're using the bundleplugin this > would be: > > <instructions> > <Bundle-NativeCode>...etc...</Bundle-NativeCode> > </instructions> > > HTH > > >> ________________________________ >> >> Joel Schuster >> Senior Software Engineer >> NAVSYS Corporation >> 14960 Woodcarver Road, Colorado Springs, CO 80921 >> 719-481-4877 >> > > -- > Cheers, Stuart --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |