2009/7/3 Joel Schuster <[email protected]>

> 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

Reply via email to