Eclipse:如何从更新站点安装较旧的插件版本?

发布于 2024-12-05 08:13:16 字数 315 浏览 1 评论 0 原文

我想确定将我的一个 Eclipse 插件降级到以前的版本是否可以解决我遇到的问题。我想知道是否有使用插件的 Eclipse 更新站点的通用方法,我可以使用 Eclipse 的安装 GUI 来安装旧版本的插件。

如果重要的话,感兴趣的工具是此更新站点上的 Scala-IDE: http://download.scala-ide.org/releases-28/2.0.0-beta< /a>

我想要的是 2.0.0-beta 的先前版本。

I want to determine if downgrading one of my Eclipse plugins to the previous version fixes the problem I have. I was wondering if there is a general method using the plugin's Eclipse update site that I can use Eclipse's install GUI to install an older version of the plugin.

If it matters, the tool of interest is the Scala-IDE at this update site:
http://download.scala-ide.org/releases-28/2.0.0-beta

What I want is the previous build of the 2.0.0-beta.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

叫思念不要吵 2024-12-12 08:13:16

要降级 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 WeavingScala IDE for EclipseScala 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 with eclipse -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 items JDT 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.

忆离笙 2024-12-12 08:13:16

Mirco Dotta 在 Scala IDE 论坛 上为我回答了这个问题。

如果过去安装过以前的插件版本,并且更新站点维护该插件的旧版本,则应该可以通过执行以下操作恢复到您安装的以前版本:

  1. 卸载当前插件版本(Eclipse - > 关于 -> 安装详细信息 -> 安装的软件)
  2. 使用“安装历史记录”重新安装以前的版本(Eclipse -> 关于 -> 安装详细信息 -> 安装历史记录)。

请注意,就我正在使用的插件而言,更新站点不维护旧版本,因此此技术没有帮助。

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:

  1. Uninstall the current plugin version (Eclipse -> About -> Installation Details -> Installed Software)
  2. Re-install a previous version using the "Installation History" (Eclipse -> About -> Installation Details -> Installed History).

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文