eclipse 使用哪种颠覆性的连接器发现
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7703377/
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
Which subversive connector discovery to use
提问by Mahmoud Saleh
After I installed the SVN plugin in Eclipse and restarted it, a message appeared asking to install a connector. There are SVN Kit and Native JavaHL connectors. I am confused which one to install and why, can any one please guide me.
在 Eclipse 中安装 SVN 插件并重新启动后,出现一条消息要求安装连接器。有 SVN Kit 和 Native JavaHL 连接器。我很困惑要安装哪一个以及为什么,任何人都可以指导我。
回答by mliebelt
The two connectors should both work, here are the differences (more from experience by using them, not by reading their source code):
这两个连接器应该都可以工作,以下是不同之处(更多来自使用它们的经验,而不是通过阅读它们的源代码):
- SVN Kit:
- Works on all platforms, is a Java-only implementation (no need for DLLs or shared libraries).
- Is a little bit slower than JavaHL Native.
- Keeps its configuration at some other place than a real subversion client like TortoiseSVN (on windows). So if you need both, you have to keep that in mind.
- JavaHL Native:
- Needs a shared library (DLL), that has the same major version as the installed Subversion client. So if you use SVN command client 1.6.x, you should install / use the corresponding JavaHL version.
- Is easy to use under Windows, more difficult to find the right version for Linux or Mac OS X (see Subclipse Wiki: JavaHL
- Is faster and uses the same configuration as the installed SVN command client or TortoiseSVN client.
- SVN套件:
- 适用于所有平台,是仅 Java 实现(不需要 DLL 或共享库)。
- 比 JavaHL Native 慢一点。
- 将其配置保存在其他地方而不是像 TortoiseSVN 这样的真正的颠覆客户端(在 Windows 上)。因此,如果两者都需要,则必须牢记这一点。
- JavaHL 原生:
- 需要一个与安装的 Subversion 客户端具有相同主要版本的共享库 (DLL)。所以如果你使用SVN命令客户端1.6.x,你应该安装/使用对应的JavaHL版本。
- 在 Windows 下易于使用,更难找到适合 Linux 或 Mac OS X 的版本(参见Subclipse Wiki:JavaHL
- 速度更快,并且使用与安装的 SVN 命令客户端或 TortoiseSVN 客户端相同的配置。
So you may install both, and switch between them under Windows > Preferences > Team > SVN > SVN Connector
. I have used both and did not notice much difference in my normal word, only in special circumstances. If JavaHL fits in, it is the better connector in my opinion.
因此,您可以同时安装两者,并在Windows > Preferences > Team > SVN > SVN Connector
. 两个我都用过,没发现我平时用词有多大区别,只有在特殊情况下。如果 JavaHL 适合,在我看来它是更好的连接器。