Extracted Bundle Classpath location question [message #116353] |
Wed, 20 August 2008 20:20 |
Eclipse User |
|
|
|
Originally posted by: wbeckwith.gmail.com
I have the following entry in my bundle's manifest
Bundle-NativeCode: /lib/jniwrap.dll; osname=win32; processor=x86
and this works well for the library to be found. However the code also
looks for a jniwrap.lic file in the same directory as the dll, which
equates to <eclipse home>/configuration/org.eclipse.osgi/bundles/<bundle
id>/1/.cp. So my question is how can I either A). get eclipse to
extract the license files to the same directory as the dll, or failing
that B.) call an API or read a property that will give me this location
and I can do the extraction myself?
I would need to add the code to my bundles activator since starting
eclipse with -clean would wipe out any previous extractions.
Wb
|
|
|
Powered by
FUDForum. Page generated in 0.03890 seconds