Eclipse:如何从更新站点安装较旧的插件版本?
我想确定将我的一个 Eclipse 插件降级到以前的版本是否可以解决我遇到的问题。我想知道是否有使用插件的 Eclipse 更新站点的通用方法,我可以使用 Eclipse 的安装 GUI 来安装旧版本的插件。
如果重要的话,感兴趣的工具是此更新站点上的 Scala-IDE: http://download.scala-ide.org/releases-28/2.0.0-beta< /a>
我想要的是 2.0.0-beta 的先前版本。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要降级 Scala IDE,我首先卸载 [1] 当前的 Scala 插件,并重新安装所需的旧版本。
特别说明:重新安装旧版本时,会出现你必须避开的烦人的错误。根据 Iulian Dragos 对该票证的最后评论,请确保在安装旧版本时禁用“在安装过程中联系所有更新站点以查找所需的软件”。之后,我遇到了一个关于不再存在的文件的非法字符集名称的错误:
/Applications/eclipse/configuration/org.eclipse.osgi/bundles/3801/1/.cp/lib:misc/scala -dev/插件
。您在评论中链接的错误报告显示了解决方案:使用 eclipse -clean 启动 Eclipse。我收到另一个与-Xpluginsdir
相关的错误,但这已通过清理和重建项目修复。[1] 卸载当前的插件,您可以进入
[帮助菜单] -> [安装新软件...] -> [已安装的内容]
。然后选择JDT Weaving
、Scala IDE for Eclipse
、Scala IDE for Eclipse Source
三项并点击卸载。编辑:我想这并不能回答您关于在哪里找到具有先前版本的更新站点的问题。我在网站上找不到以前的测试版。也许您需要在邮件列表上提问。
To downgrade Scala IDE, what I did was first uninstall [1] the current Scala plugin, and the reinstall the desired older version.
Special note: when reinstalling the older version, there's an annoying bug you have to sidestep. As per Iulian Dragos' last comment on that ticket, make sure you disable 'Contact all update sites during install to find required software' when installing the older version. After this, I encountered a bug about an illegal charset name for a file that no longer existed:
/Applications/eclipse/configuration/org.eclipse.osgi/bundles/3801/1/.cp/lib:misc/scala-dev/plugins
. The bug report you linked in the comments shows the solution: launch Eclipse witheclipse -clean
. I got another error related to-Xpluginsdir
, but this was fixed by cleaning and rebuilding the project.[1] To uninstall the current plugin, you can go to
[Help Menu] -> [Install new software...] -> [What is already installed]
. Then select three itemsJDT Weaving
,Scala IDE for Eclipse
,Scala IDE for Eclipse Source
and click uninstall.Edit: I guess this doesn't answer your question about where to find an update site with the previous version. I couldn't find previous betas on the website. Maybe you'll have to ask on the mailing list.
Mirco Dotta 在 Scala IDE 论坛 上为我回答了这个问题。
如果过去安装过以前的插件版本,并且更新站点维护该插件的旧版本,则应该可以通过执行以下操作恢复到您安装的以前版本:
请注意,就我正在使用的插件而言,更新站点不维护旧版本,因此此技术没有帮助。
Mirco Dotta answered this for me on the Scala IDE Forum.
If the previous plugin version had been installed in the past, and if the update site maintains older releases of the plugin, it should be possible to revert to a previous version you have installed by performing the following:
Note that in the case of the plugin I'm using, the update site does not maintain older versions, so this technique wouldn't help.