[英]Eclipse plugin: Copy/Export dependencies
I have a plugin that is in need of some .dll-files. 我有一个需要一些.dll文件的插件。 As I debug the Eclipse-Applicatoin and try to load these .dll files I receive a
FileNotFoundException
since the application does not look inside the project folder but in the actual Eclipse folder it is running in. 在调试Eclipse-Applicatoin并尝试加载这些.dll文件时,我收到
FileNotFoundException
因为该应用程序不在项目文件夹中查找,而是在实际的Eclipse文件夹中运行。
So it is not C:\\eclipseworkspace\\myproject\\fileineed.dll
it is C:\\eclipse\\fileineed.dll
instead. 因此,它不是
C:\\eclipseworkspace\\myproject\\fileineed.dll
,而是C:\\eclipse\\fileineed.dll
。
Of cource I just could copy that .dll there and that's it but I am sure I can tell Eclipse to export these files to the debugging Eclipse. 当然,我只能在其中复制.dll,但是我确定我可以告诉Eclipse将这些文件导出到调试的Eclipse。
Does anyone know how? 有人知道吗?
Please read the paragraph about "Native code and class loaders" at http://www.eclipsezone.com/articles/eclipse-vms/ . 请阅读http://www.eclipsezone.com/articles/eclipse-vms/上有关“本机代码和类加载器”的段落。 That will tell you the most important steps:
这将告诉您最重要的步骤:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.