views:

13

answers:

0

Hello!

We are trying to bundle a .dll file with an Eclipse plug-in. The problem is that the .dll file requires another (non-.dll) file to reside within the same directory when it is loaded. Both files are in the .jar and we have added the following to the MANIFEST.MF

Bundle-NativeCode: native/license.file; native/library.dll; selection-filter="(&(osgi.arch=x86)(osgi.os=win32))"

When the deployed plug-in is loaded from the .jar the .dll is extracted correctly, but the loading of it fails since the other file is not extracted, at least not to the same directory as the .dll.

Is there any way to make Eclipse unpack the other file to the same directory as the .dll?