Great, thanks! Le mar 19/03/13 20:17, "Richard S. Hall" [email protected] a écrit: > On 3/19/13 15:14 , thiebau > [email protected] wrote: > Thanks Richard for your quick answer. > > I'm not sure I understand though... > > > > I use Maven Bundle Plugin to generate the header. Do > you speak about the <Bundle-NativeCode> tag? > Yes, it is called a header, not a tag. > > > I have dll or so separated by semi-columns. Is it > where I should add ",*" ? > Yes. Check the spec, section 3.10 in the R5 spec. > > -> richard > > > > > Thanks > > > > Le mar 19/03/13 20:03, "Richard S. Hall" heavy@un > governed.org a écrit: >> On 3/19/13 14:54 , thiebau > >> [email protected] > wrote: >> Hi list, > >>> I am running an OSGi application with a > native >> bundle (VTK to show contents in 3D). > >> > >>> When I run the application with, let say, > the 64bits >> version of the bundle on a 32bits operating > system, I have a "No matching >> native libraries found" error > message. >> > >>> This is somewhat expected as OSGi really > cannot find >> the appropriate libs. > >> > >>> In my case, the native bundle also exports > Java >> packages and if it does not load, the > application does not run at >> all. > >> > >>> What I want to do, is to load the bundle > anyway and >> deal with the native problem later: I have a > try-catch around the >> System.loadLibrary call that tells me when the > native library was not >> loaded properly and I can then display an error > message to the user in >> place > >> of the 3D view. > >>> However, as the bundle loading stops, it > never goes >> to that try-catch and the depending bundles are > not loaded >> either. > >> > >>> How can I do that and make Felix load the > rest of >> the bundle and not stopping at the native > libraries resolution? >> I think you need to specify that the native > library is optional by >> including a ",*" as the last clause in your > native library bundle >> header. Something like that. > >> > >> -> richard > >> > >>> Thanks for your help > >>> > >>> Kind regards, > >>> > >>> Benoît > >>> > >>> > >>> > >>> > >>> > >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: u > >> se > [email protected] >> > >> > >> > >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: u > >> se > [email protected] >> > >> > >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: u > [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] For additional commands, e-mail: u > [email protected] > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

