java - Eclipse plugin: Copy/Export dependencies -


i have plugin in need of .dll-files. debug eclipse-applicatoin , try load these .dll files receive filenotfoundexception since application not inside project folder in actual eclipse folder running in.

so not c:\eclipseworkspace\myproject\fileineed.dll c:\eclipse\fileineed.dll instead.

of cource copy .dll there , that's sure can tell eclipse export these files debugging eclipse.

does know how?

please read paragraph "native code , class loaders" @ http://www.eclipsezone.com/articles/eclipse-vms/. tell important steps:

  • put dll @ root of plugin project.
  • include in build.properties.
  • use either system.loadlibrary() or osgi headers dll loaded @ runtime.

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -