Eclipse插件开发的问题

SitukaSoft 2013-09-26 04:04:12
最近完成了一个Eclipse插件,用update-site的方式打包,在Eclipse里用install software的方式安装,都没有报错,安装完毕后在Eclipse Installation Details里面也可以看到。可是按照提示重启之后却发现插件没有起任何作用。不知该如何解决是好了,望各位前辈指点迷津!
...全文
15085 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_31580957 2016-04-29
  • 打赏
  • 举报
回复
小白求问各位大神 在命令行里运行eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile ****即可(****是concfig.ini里eclipse.p2.profile项的值) 这个具体是怎么操作的啊,~~~~(>_<)~~~~ 我在命令行里输入 这段代码 命令行提示eclipse不是外部命令。 感激不尽!
yanxin9210 2016-03-10
  • 打赏
  • 举报
回复
引用 5 楼 u012254995 的回复:
[quote=引用 1 楼 u012254995 的回复:] 刚才把我那个插件卸了打算重装,报了如下错误: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. The file "D:\eclipse\plugins\ATP_IDE_1.0.0.201309261417.jar" does not exist ATP_IDE_1.0.0.201309261417.jar就是我写得插件的打包文件。 越来越不得解了……
这个问题解决了: p2又它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。 在命令行里运行eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile ****即可(****是concfig.ini里eclipse.p2.profile项的值)[/quote] 太感谢了!我装了freemarker的插件,卸载后自己又删了些东西,打算装个高版本的,但是一直报错,最后用你提供的这个方法解决了!
hudishen 2016-02-17
  • 打赏
  • 举报
回复
引用 5 楼 u012254995 的回复:
[quote=引用 1 楼 u012254995 的回复:] 刚才把我那个插件卸了打算重装,报了如下错误: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. The file "D:\eclipse\plugins\ATP_IDE_1.0.0.201309261417.jar" does not exist ATP_IDE_1.0.0.201309261417.jar就是我写得插件的打包文件。 越来越不得解了……
这个问题解决了: p2又它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。 在命令行里运行eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile ****即可(****是concfig.ini里eclipse.p2.profile项的值)[/quote] 正解!
u010591671 2015-09-16
  • 打赏
  • 举报
回复
哪位大神能给我讲讲or.eclipse.ui.intro这个扩展点,我想做欢迎页,可以打开我做的插件里的透视图和视图的,网上和书上的资料好少,谁能给个例子啊?万分感谢,急急急
ycjnx 2015-08-30
  • 打赏
  • 举报
回复
重装插件之前,我把这两个目录全部删除了: D:\eclipse\plugins\sf.eclipse.javacc_1.5.30 D:\eclipse\features\sf.eclipse.javacc.feature_1.5.30
ycjnx 2015-08-30
  • 打赏
  • 举报
回复
eclipse的javacc插件未安装成功,再次安装会报错: /* An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. D:\eclipse\features\sf.eclipse.javacc.feature_1.5.30 (系统找不到指定的文件。) */ 解决方法: 在命令行里运行: /* d:\mycode>cd d:\eclipse d:\eclipse>eclipse -application org.eclipse.equinox.p2.garbagecollector.applicat ion -profile epp.package.jee d:\eclipse> (epp.package.jee是concfig.ini里eclipse.p2.profile项的值) */ 运行完上面的命令后,重新安装,可以正常下载了!赞楼主:) 下载完成后,安装过程中出现了提示信息: /* Warning: You are installing software that contains unsigned content. The authenticity or validity of this software cannot be established. Do you want to continue with the installation? D:\eclipse\plugins\sf.eclipse.javacc_1.5.30 D:\eclipse\features\sf.eclipse.javacc.feature_1.5.30 */ 都到这步了,狠心选了个“Yes”,OK,装上了! 再次感谢楼主!
LinuxSuRen 2015-07-30
  • 打赏
  • 举报
回复
引用 8 楼 JingChen22 的回复:
[quote=引用 5 楼 u012254995 的回复:] [quote=引用 1 楼 u012254995 的回复:] 刚才把我那个插件卸了打算重装,报了如下错误: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. The file "D:\eclipse\plugins\ATP_IDE_1.0.0.201309261417.jar" does not exist ATP_IDE_1.0.0.201309261417.jar就是我写得插件的打包文件。 越来越不得解了……
这个问题解决了: p2又它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。 在命令行里运行eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile ****即可(****是concfig.ini里eclipse.p2.profile项的值)[/quote] 正解! 万分感谢! eclipse埋了这么一个坑啊!5555[/quote] 还是没搞定啊 http://surenpi.com
huanben2 2015-04-26
  • 打赏
  • 举报
回复
请问一下,我现在用p2更新 也是会存在很多以前的旧插件 怎么删除这些插件呢?
LinuxSuRen 2015-01-23
  • 打赏
  • 举报
回复
引用 2 楼 daibin222 的回复:
你能开发调试插件的时候正常吗? 你说你用update-site的方式打包,你以前有这么做成功过吗? 贴出你的打包、安装步骤,都用了什么值让大家看看。
这个我都搞定了,但还是遇到了几个问题没有解决。 http://surenpi.com
小二金刚 2014-09-25
  • 打赏
  • 举报
回复
引用 5 楼 u012254995 的回复:
[quote=引用 1 楼 u012254995 的回复:] 刚才把我那个插件卸了打算重装,报了如下错误: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. The file "D:\eclipse\plugins\ATP_IDE_1.0.0.201309261417.jar" does not exist ATP_IDE_1.0.0.201309261417.jar就是我写得插件的打包文件。 越来越不得解了……
这个问题解决了: p2又它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。 在命令行里运行eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile ****即可(****是concfig.ini里eclipse.p2.profile项的值)[/quote] 正解! 万分感谢! eclipse埋了这么一个坑啊!5555
panhuawenneida 2014-06-30
  • 打赏
  • 举报
回复
经验证,五楼的说法是正确的
SitukaSoft 2013-09-26
  • 打赏
  • 举报
回复
引用 3 楼 fangmingshijie 的回复:
到eclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info文件内,看看是否有ATP_IDE_1.0.0.201309261417.jar的信息,没有的话,复制一段,改为ATP_IDE_1.0.0.201309261417.jar就行了。
我试过了,没用哎~~~~还有诸如加-clean、删除org.eclipse.update这些方法都试过了,没有效果。我的插件里引用了不少第三方插件,会不会在这方面出问题了?
SitukaSoft 2013-09-26
  • 打赏
  • 举报
回复
引用 1 楼 u012254995 的回复:
刚才把我那个插件卸了打算重装,报了如下错误: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. The file "D:\eclipse\plugins\ATP_IDE_1.0.0.201309261417.jar" does not exist ATP_IDE_1.0.0.201309261417.jar就是我写得插件的打包文件。 越来越不得解了……
这个问题解决了: p2又它的一个垃圾回收机制,之前删除的JAR包在未被回收之前,再次重装,系统不会做重新download的动作,但是它又找不到那个JAR包了,故而报错。 在命令行里运行eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile ****即可(****是concfig.ini里eclipse.p2.profile项的值)
SitukaSoft 2013-09-26
  • 打赏
  • 举报
回复
引用 2 楼 daibin222 的回复:
你能开发调试插件的时候正常吗? 你说你用update-site的方式打包,你以前有这么做成功过吗? 贴出你的打包、安装步骤,都用了什么值让大家看看。
调试插件的时候很正常啊。我也是刚开始搞这块,还是第一次尝试用update-site,步骤就是参考《Eclipse插件开发<原书第三版>》和http://forchenyun.iteye.com/blog/664241
  • 打赏
  • 举报
回复
到eclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info文件内,看看是否有ATP_IDE_1.0.0.201309261417.jar的信息,没有的话,复制一段,改为ATP_IDE_1.0.0.201309261417.jar就行了。
daibin222 2013-09-26
  • 打赏
  • 举报
回复
你能开发调试插件的时候正常吗? 你说你用update-site的方式打包,你以前有这么做成功过吗? 贴出你的打包、安装步骤,都用了什么值让大家看看。
SitukaSoft 2013-09-26
  • 打赏
  • 举报
回复
刚才把我那个插件卸了打算重装,报了如下错误: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. The file "D:\eclipse\plugins\ATP_IDE_1.0.0.201309261417.jar" does not exist ATP_IDE_1.0.0.201309261417.jar就是我写得插件的打包文件。 越来越不得解了……

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧