[英]No response after installing my own eclipse plugin
Recently I have developed an eclipse plugin, I exported my plugin by this method "Export" > "Deployable plug-ins and fragments" , after that I got my .jar
plugin , and put it into ~/eclipse/plugins
, my plugin has shown successfully in my eclipse. 最近,我开发了一个eclipse插件,通过“导出” > “可部署的插件和片段”方法导出了我的插件,之后我得到了
.jar
插件,并将其放入~/eclipse/plugins
,我的插件具有显示成功在我的日食。 However some of my workmates have no response after they put it into ~/eclipse/plugin
, some of them can get it while some can't. 但是,当我的一些同事将其放入
~/eclipse/plugin
后,他们没有任何反应,有些人可以得到它,而有些则不能。 Especially the ones who use adt-bundle to install my plugin have no response. 特别是那些使用adt-bundle安装我的插件的人没有反应。 I have changed my build jar method to: "Export" > "JAR file" , but failed.
我已将构建jar方法更改为: “导出” > “ JAR文件” ,但失败。 Is my build jar method wrong or my install method jar wrong?
我的构建jar方法错误还是安装方法jar错误?
First guess is that your colleagues have some dependency issues that prevents the plugin from loading. 首先,您的同事有一些依赖问题,这些问题会阻止插件加载。 This is easy to check:
这很容易检查:
"Help" -> "About" -> "Installation details", click on tab "configuration". 在“帮助”->“关于”->“安装详细信息”中,单击选项卡“配置”。 You will see a list containing entries such as;
您将看到一个包含条目的列表,例如;
org.apache.commons.io (2.0.1.v201105210651) "Apache Commons IO" [Resolved]
org.apache.commons.lang (2.6.0.v201205030909) "Apache Commons Lang" [Resolved]
org.apache.commons.logging (1.1.1.v201101211721) "Apache Commons Logging Plug-in" [Resolved]
org.apache.felix.gogo.command (0.10.0.v201209301215) "Apache Felix Gogo Command" [Active]
Search for the id of your plugin. 搜索您的插件的ID。 A couple of things can happen here:
这里可能发生几件事:
Also see my answer here 也可以在这里看到我的答案
Regardless of the issue and the solution, I would strongly suggest you install the plugin by creating an update site. 无论问题和解决方案如何,我都强烈建议您通过创建更新站点来安装插件。 That is the only guaranteed way it will work.
那是它工作的唯一保证方式。 Dependency issues will be seen immediately.
依赖性问题将立即可见。 Copying to plugin folder is not the correct way and dropins folder aren't guaranteed to work.
复制到插件文件夹不是正确的方法,不能保证dropins文件夹能正常工作。 (I have the feeling it is deprecated, but cant find offical source for that)
(我觉得它已被弃用,但无法为此找到官方来源)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.