Unfolding automatically an Eclipse plugin jar(自动展开 Eclipse 插件 jar)
问题描述
我的 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:自动展开 Eclipse 插件 jar


基础教程推荐
- 验证是否调用了所有 getter 方法 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01