【发布时间】:2022-01-19 20:00:09
【问题描述】:
我正在尝试自动安装 Eclipse Luna 中颠覆性所需的 SVN 连接器插件,以实现共享的多用户安装。我已经通过以受限用户身份运行 eclipse 下载了插件,然后我将该用户的私有“功能”和“插件”目录中的文件复制到 eclipse 安装的“dropins”目录(在我的情况下,创建目录/opt/eclipse-4.4RC2/dropins/features和/opt/eclipse-4.4RC2/dropins/plugins 并将它们放入其中)。但是,当我现在启动 eclipse 时,连接器在 Window/Preferences/Team/SVN/SVN Connector 的连接器下拉列表中不可用,并且我在错误日志中收到以下消息:
org.eclipse.equinox.p2.publisher.eclipse
Error
Mon Jun 02 03:52:28 UTC 2014
Unable to acquire PluginConverter service during generation for: /opt/eclipse-4.4RC2/dropins/plugins.
org.eclipse.equinox.p2.publisher.eclipse
Error
Mon Jun 02 03:52:28 UTC 2014
Unable to acquire PluginConverter service during generation for: /opt/eclipse-4.4RC2/dropins/features.
我知道 PluginConverter 已从 Luna 中删除;它以前提供与缺少 OSGi 清单的 Eclipse 2.0 插件的向后兼容性,但我尝试安装的所有插件都有正确的 OSGi 清单,所以我不明白为什么需要它。
我尝试查看 Luna 的文档,确认将 features 和 plugins 创建为 dropins 的子目录应该可以工作,但找不到 Luna 的任何文档(有点奇怪,因为它的最终版本仅在几个星期,我想)。不过,Kepler 的文档表明它应该没问题。
有什么想法吗?
【问题讨论】: