Steven E. Harris a écrit :
Xavier RAYNAUD <[EMAIL PROTECTED]> writes:
I use native JNI libraries, and choose at runtime the native library
to open. (on eclipse, with OS-dependant fragments, it's easy to do)
Can you elaborate on how you make this selection, and how you package
the fragment?
Yes, of course:
This plugin is made of 3 part:
A plugin containing just an Activator (let's say "org.sqlitejdbc")
Two platform-specific fragments containing the platform-specific jdbc
drivers (let's say "org.sqlitejdbc.linux" and "org.sqlitejdbc.win32").
See
=> Since fragments are host-specific, only the fragment you need will be
loaded.
(If you use an update site, only the fragment you need will be
downloaded).
Note: the System property "java.library.path" is also set in the plugin
Activator, in order to found the embedded dll/shared library in the
right fragment.
Does this answer to your question ?
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------