Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which subversive connector discovery to use

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.

like image 215
Mahmoud Saleh Avatar asked Oct 09 '11 12:10

Mahmoud Saleh


People also ask

What is SVN Connector for Eclipse?

The Subversive plug-in is developed as an Eclipse official project with an EPL license and is distributed from the Eclipse website. Subversive SVN Connectors are SVN libraries used by Subversive to communicate with SVN repositories.

How do I use subversive in eclipse?

To install Subversive: Start Eclipse and select menu item 'Help > Instal New Software...' Then selec common software repository or if you need to install Subversive only, you can directly add Subversive update site by pressing 'Add' button. On the 'Add Repository' form enter the URL to the Subversive update site.


1 Answers

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.

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.

like image 50
mliebelt Avatar answered Oct 02 '22 20:10

mliebelt