自动展开 Eclipse 插件 jar [英] Unfolding automatically an Eclipse plugin jar

查看:14
本文介绍了自动展开 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆