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

查看:121
本文介绍了自动展开Eclipse插件jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Eclipse插件需要作为平面目录执行(它使用JNI,JNI部分需要访问插件提供的一些文件)。如果安装为jar,可以将插件配置为自动展开?或者我唯一的选择是要求用户将其内容解压缩到Eclipse dropins文件夹中?



如果没有办法自动展开插件jar,是否可以构建一个配置为在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?

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天全站免登陆