【问题标题】:installing svn connectors in eclipse luna's "dropins" folder在 eclipse luna 的“dropins”文件夹中安装 svn 连接器
【发布时间】: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 的文档,确认将 featuresplugins 创建为 dropins 的子目录应该可以工作,但找不到 Luna 的任何文档(有点奇怪,因为它的最终版本仅在几个星期,我想)。不过,Kepler 的文档表明它应该没问题。

有什么想法吗?

【问题讨论】:

    标签: eclipse eclipse-plugin


    【解决方案1】:

    这看起来像 Eclipse 错误426456

    错误报告指出,使用-clean 选项重新启动 Eclipse 两次 解决了该问题。

    【讨论】:

      【解决方案2】:

      我使用以下命令在 Luna 中自动安装 SVN 连接器(直接在 plugins 文件夹中,使用 polarion 更新站点):

      ${installationpath}/eclipse/eclipse -nosplash \
        -application org.eclipse.equinox.p2.director \
        -repository http://community.polarion.com/projects/subversive/download/eclipse/4.0/update-site/ \
        -destination ${installationpath}/eclipse/ \
        -installIU org.polarion.eclipse.team.svn.connector.feature.group \
        -installIU org.polarion.eclipse.team.svn.connector.svnkit18.feature.group
      

      希望对你有帮助。

      【讨论】:

        【解决方案3】:

        我发现安装颠覆性及其连接器的最佳方法如下:

        1. Go to Help->Install New software.
        2. From the drop down list select "Luna - http://download.eclipse.org/releases/luna". Now some list should be populated.
        3. In the populated list go to Collaborator->Subversive SVN Team Provider.
        4. Click Finish.
        

        这将在 eclipse 重启后安装 Subversive SVN Team Provider。

        然后右键单击项目资源管理器的空白区域并选择导入,然后选择其他。从新菜单中选择 SVN-Project from SVN ,这将要求安装连接器。选择所需的连接器并安装它。

        HTH

        【讨论】:

          猜你喜欢
          • 2011-10-20
          • 1970-01-01
          • 1970-01-01
          • 2019-09-05
          • 2018-01-26
          • 1970-01-01
          • 1970-01-01
          • 2014-11-05
          • 2017-02-03
          相关资源
          最近更新 更多