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
基础教程推荐
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- Struts2 URL 无法访问 2022-01-01
