我的 Eclipse 插件需要展开为平面目录执行(它使用 JNI,JNI 部分需要访问插件提供的一些文件).如果作为 jar 安装,是否可以将插件配置为自动展开?或者我唯一的选择是要求用户将其内容解压缩到 Eclipse dropins 文件夹中?
My Eclipse plugin needs to be executed unfolded as a flat directory (it uses JNI, and the JNI part needs access to some files provided by the plugin). Is it possible to configure the plugin to be automatically unfolded if installed as a jar ?. Or my only option is to ask the user to unzip its contents in the Eclipse dropins folder?
如果无法自动展开插件 jar,是否可以构建一个更新站点,配置为在 dropins 文件夹中安装插件并复制展开?
In case there is no way to unfold a plugin jar automatically, is it possible to build an update site configured to install the plugin in the dropins folder and copying it unfolded ?
如果您将插件打包为功能,则可以在 功能清单编辑器.
If you package your plugin(s) as a feature then you can specify this behavior in Feature manifest editor.
这篇关于自动展开 Eclipse 插件 jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!