在 Eclipse 中安装 SVNKit 1.7.x 的正确方法?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9607556/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:57:49  来源:igfitidea点击:

Proper way to install SVNKit 1.7.x in Eclipse?

eclipsesubversive

提问by Peter

Folks,

各位,

I am a bit confused on how to get SVNKit 1.7 Beta 3 to work under Eclipse Indigo.

我对如何让 SVNKit 1.7 Beta 3 在 Eclipse Indigo 下工作感到有些困惑。

Using the Eclipse update site mentioned at http://svnkit.com/download.php, I installed new software from http://eclipse.svnkit.com/1.7.x. I selected both the items on the list, the core SVNKit Library and optional JNA Library.

使用http://svnkit.com/download.php 中提到的 Eclipse 更新站点,我从http://eclipse.svnkit.com/1.7.x安装了新软件。我选择了列表中的两个项目,核心 SVNKit 库和可选的 JNA 库。

The installation seems to have succeeded. When I look at the list of installed software, I see SVN Library 1.70 Beta 3 in the list.

安装好像成功了。当我查看已安装软件的列表时,我在列表中看到了 SVN Library 1.70 Beta 3。

However, Eclipse still does not recognized that my projects are source controlled.

但是,Eclipse 仍然不承认我的项目是受源控制的。

When I go to Preferences, all I see is SVNKit 1.3.6-v1. I do not see SVNKit 1.7.

当我转到首选项时,我看到的只是 SVNKit 1.3.6-v1。我没有看到 SVNKit 1.7。

Is there some other step that I am missing? How do I get Subversive to recognized my Subversion 1.7 based projects?

我还缺少其他步骤吗?如何让 Subversive 识别我的基于 Subversion 1.7 的项目?

Thank you in advance for your help.

预先感谢您的帮助。

Regards,
Peter

问候,
彼得

回答by Ahmad Azimi

To install SVNKit as an Eclipse plugin or to make sure that you have the latest version installed, use http://eclipse.svnkit.com/1.7.x/as an update site location in Eclipse Update Manager.

要将 SVNKit 作为 Eclipse 插件安装或确保安装了最新版本,请使用http://eclipse.svnkit.com/1.7.x/作为 Eclipse 更新管理器中的更新站点位置。

  • List item In Eclipse menu select Help->Software Updates
  • List item Then choose 'Available Software' tab
  • List item Click 'Add Site...' button
  • List item Type http://eclipse.svnkit.com/1.7.x/in the 'Location' field and press 'OK'.
  • List item Check the new site (it should appear in the list of update sites) and follow further steps as prompted by Eclipse.
  • 列表项 在 Eclipse 菜单中选择 Help->Software Updates
  • 列表项然后选择“可用软件”选项卡
  • 列表项 单击“添加站点...”按钮
  • 列表项在“位置”字段中键入http://eclipse.svnkit.com/1.7.x/,然后按“确定”。
  • 列表项 检查新站点(它应该出现在更新站点列表中)并按照 Eclipse 提示执行进一步的步骤。


Use http://eclipse.svnkit.com/1.3.x/as an update site location to get older version of SVNKit (1.3.8).

使用http://eclipse.svnkit.com/1.3.x/作为更新站点位置以获取旧版本的 SVNKit (1.3.8)。

回答by grinderX19

In order to install SVNKit 1.7.x for Subversive I've opened Eclipse > Help > Install new software and used the link from http://www.polarion.com/products/svn/subversive/download.phppage:

为了为 Subversive 安装 SVNKit 1.7.x,我打开了 Eclipse > 帮助 > 安装新软件并使用了http://www.polarion.com/products/svn/subversive/download.php页面中的链接:

http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/– [required] Subversive SVN Connectors

http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/– [必需] 颠覆性 SVN 连接器

After that new connector appeared under Eclipse Preferences.

之后,新的连接器出现在 Eclipse 首选项下。

回答by Paulada

Just for the records, as of March 2013, Subversive does seem to work with SVNKit 1.7.

仅作为记录,截至 2013 年 3 月,Subversive 似乎确实适用于 SVNKit 1.7。

I installed both (SVNKit 1.7.8and then Subversive Service Release 1.0.1) on Eclipse Indigoand haven't run into any problems so far.

我在 Eclipse Indigo上安装了两者(SVNKit 1.7.8和 Subversive Service Release 1.0.1),到目前为止还没有遇到任何问题。

If you want to give it a try, just make sure to uninstall the previous version first, as the Subversive latest releases page points out:

如果您想尝试一下,请确保先卸载以前的版本,正如 Subversive 最新版本页面指出的那样:

Subversive 0.7 to 1.0 Upgrade Notes

If need to update Subversive from 0.7.x to the 1.0.0 version, uninstall the previously installed Subversive 0.7.x plug-in version first. Otherwise during the installation process you'll be blocked by the old connectors version that is incompatible with the 1.0.0 release and couldn't be installed simultaneously with the main plug-in due to the installation UI restrictions.

颠覆性 0.7 到 1.0 升级说明

如需将Subversive从0.7.x升级到1.0.0版本,请先卸载之前安装的Subversive 0.7.x插件版本。否则在安装过程中,您将被与 1.0.0 版本不兼容的旧连接器版本阻止,并且由于安装 UI 限制而无法与主插件同时安装。

Regards

问候

回答by Matt Connolly

Yes, it works with Subclipse, but not Subversive.

是的,它适用于 Subclipse,但不适用于 Subversive。