帮助在 Mac OS X 上安装 Eclipse svn 连接器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4158612/
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
Help installing Eclipse svn connector on Mac OS X
提问by Phil
Installed SVN on Mac OS 10.6.4. Also installed Eclipse and want to use SVN from Eclipse. Found several sites for update/downloading/installing SVN Connector and/or SVN Team Connector and added them to update locations. Installed SVN Connector, plug-in, etc.
在 Mac OS 10.6.4 上安装了 SVN。还安装了 Eclipse 并希望从 Eclipse 使用 SVN。找到了几个用于更新/下载/安装 SVN 连接器和/或 SVN 团队连接器的站点,并将它们添加到更新位置。安装SVN连接器、插件等。
Next tried to Import the SVN structure using SVN connector, but this failed. Got message: "SVN : Validate Repository location finished error: Selected SVN connector library is not available or cannot be loaded.... If connectors already installed then you can change the selected one at: ... Preferences>Team->SVN->SVN Connector...
接下来尝试使用 SVN 连接器导入 SVN 结构,但失败了。收到消息:“SVN:验证存储库位置已完成错误:选定的 SVN 连接器库不可用或无法加载...。如果连接器已安装,则您可以在以下位置更改所选连接器:...首选项>团队->SVN- >SVN 连接器...
Went to the Preferences place and found that there were no choices of installed SVN connectors. Since there appear to be multiple sites for Eclipse SVN integration, which site(s) should I be using? What do I need to do Import my SVN structure to Eclipse?
去了 Preferences 的地方,发现没有安装 SVN 连接器的选择。由于 Eclipse SVN 集成似乎有多个站点,我应该使用哪个站点?我需要做什么将我的 SVN 结构导入 Eclipse?
回答by Raffi Khatchadourian
I recall just downloading the connectors manually. I had no luck with that automatic thing. I'm using the SVNKit 1.3.3 r6649 (for SVN 1.6.11, all platforms) and it works fine.
我记得只是手动下载连接器。我对那个自动的东西不走运。我正在使用 SVNKit 1.3.3 r6649(适用于 SVN 1.6.11,所有平台)并且它工作正常。
You can find the following information at http://www.eclipse.org/subversive/downloads.php
您可以在http://www.eclipse.org/subversive/downloads.php找到以下信息
Subversive distribution consists of two parts - Subversive plug-in and Subversive SVN Connectors. Both parts are required in order to work with Subversive. Subversive plug-in is provided under the terms and conditions of the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. Subversive SVN Connectors are external libraries with their own licenses, which are distributed from an external location at www.polarion.com.
Subversive 发行版由两部分组成 - Subversive 插件和 Subversive SVN 连接器。使用 Subversive 需要这两个部分。Subversive 插件是根据 Eclipse Public License Version 1.0(“EPL”)的条款和条件提供的。EPL 的副本可从http://www.eclipse.org/legal/epl-v10.html 获得。Subversive SVN 连接器是具有自己许可证的外部库,它们从 www.polarion.com 上的外部位置分发。
Next, go to the polarion site. It says you can use the discovery to find connections, but:
接下来,前往极化站点。它说您可以使用发现来查找连接,但是:
you can optionally use the update sites below to get them.
您可以选择使用下面的更新站点来获取它们。
The connectors should be located at http://community.polarion.com/projects/subversive/download/eclipse/2.0/helios-site/. Use that URL as the repository location.
连接器应位于http://community.polarion.com/projects/subversive/download/eclipse/2.0/helios-site/。使用该 URL 作为存储库位置。
回答by Zoltán Ujhelyi
I had similar problems, if the connectors were installed before or with the base package. I suggest removing all SVN related plug-ins, and starting again:
如果连接器是在基础包之前或与基础包一起安装的,我遇到了类似的问题。我建议删除所有与 SVN 相关的插件,然后重新开始:
First by installing the Subversive package, and then after a restart using the Connector Discovery tool to install the connectors. This way I always ended with a working solution.
首先通过安装 Subversive 包,然后在重新启动后使用连接器发现工具安装连接器。这样我总是以一个有效的解决方案结束。
If this solution does not work for you, then you might also want to try the Subclipse plug-in, that installs both the plug-in and the connectors automatically.
如果此解决方案对您不起作用,那么您可能还想尝试Subclipse 插件,它会自动安装插件和连接器。