eclipse安装更多插件的问题
我
Unexpected error encountered while preparing for the operation.
org.eclipse.core.runtime.AssertionFailException
在详细信息窗口中
Unexpected error encountered while preparing for the operation.
null argument:
当我尝试从此站点更新时, 收到此错误 http://mantis.faratasystems.com/downloads/update/site.xml
我正在运行 eclipse 3.4.1 和 flex builder 作为插件 我怎样才能纠正这个错误并安装这个插件(Fx2Ant)
i am getting this error
Unexpected error encountered while preparing for the operation.
org.eclipse.core.runtime.AssertionFailException
and in the detail window
Unexpected error encountered while preparing for the operation.
null argument:
when i am try to update from this site
http://mantis.faratasystems.com/downloads/update/site.xml
i am running eclipse 3.4.1 and flex builder as a plugin
how can i correct this error and install this plugin (Fx2Ant)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尽管@Aaron 的建议很有帮助,但它有点乏味。 我尝试了一下。 就我而言,复制的插件不会显示在用户界面中。 更正文件权限也没有帮助,我放弃了。 沮丧的是,我四处寻找此错误的其他解决方案,并在 Eclipse wiki 上找到了一个可以帮助您用 Ganymede 中的原始更新管理器替换 p2 的解决方案。 我尝试了一下,效果很好。 还有一个可供下载的自动脚本可以执行相同的操作。 我认为在 p2 的问题得到解决之前这是一个很好的解决方案。
您可以在此处详细了解如何执行此操作。
注意:仅适用于 3.4.x。 它说它不适用于 3.5,因为 p2 与 3.5 的其他组件紧密耦合。
Helpful as @Aaron's suggestion is, it is a bit tedious. I tried it out. In my case the copied plugins just wouldn't show up in the UI. Correcting the file permissions didn't help either and I gave up. Frustrated, I looked around for other resolutions to this bug and found one on the Eclipse wiki that can help you replace p2 with the original Update manager in Ganymede. I tried it out and it works. There is also an automated script available for download that does the same. I think this is a good solution till the issues with p2 get resolved.
You can read more about how to do this here.
Note: Works only for 3.4.x. It says that it will not work with 3.5 since p2 is tightly coupled with other components of 3.5.
对我来说,新的插件安装程序“p2”经常陷入不一致的状态。 我的解决方案是安装三个 Eclipse:一个工作安装、一个模板和一个“安装”。 当我需要安装一些插件时,我删除“安装”,从“模板”中复制它,然后在那里进行安装。
安装后,我将“plugins”和“features”下的新文件复制到我的工作安装目录
eclipse/dropins/
+ 插件名称中。 有关详细信息,请参阅我的博客。For me, the new plugin installer "p2" gets often into an inconsistent state. My solution is to have three Eclipse installs: A work installation, a template and one "install". When I need to install some plugin, I delete the "install", copy it fresh from "template" and then do the install in there.
After the install, I copy the new files under "plugins" and "features" to my work installation into the directory
eclipse/dropins/
+ name of the plugin. See my blog for details.