Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What SVN connector do I need to use for Eclipse Juno Subversive on Mac?

I'm using Eclipse Juno on Mac 10.7.5. I installed Subversive and also have this version of svn installed on my Mac:

Daves-MacBook-Pro:clever davea$ svn --version
svn, version 1.7.9 (r1462340)
   compiled Apr  3 2013, 12:31:42

I'm having problems getting SVN to work with Eclipse, in particular, when trying to select the appropriate SVN Connector. I'd like to use "Native JavaHL" but when going Eclipse -> Preferences -> Team -> SVN and clicking the "SVN Connector" tab, there appears to be an error when trying to select JavaHL. The menu option next to "SVN Connector" states:

Native JavaHL 0x00100000: Cannot load libraries: Could not initialize class org.tigris.subversion.javahl…

Unfortunately the message cuts off, so my question is, what is the proper way to install this connector (or should I be using a different one) so that Eclipse/SVN/Subversive can work in peace and harmony together?

like image 535
Dave Avatar asked Jul 29 '13 15:07

Dave


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. A Subversive SVN Connector uses a SVN library to communicate with SVN repositories. Currently, there is only the connector which uses the SVNKit library.

How to install SVN plugin?

#1) First, you need to install the SVN plugin in the Eclipse IDE. To do this go to the top menu on Eclipse and select Help -> Install New Software. The following window will open up, click on the Add button.


1 Answers

To get this working for Eclipse Juno 3.8.2 on my Mac (Mountain Lion):

  • I added the Subversive plugin to Eclipse using Help->Install New Software and select Collaboration->Subversive SVN Team Provider
  • I installed the JavaHL library using MacPorts: sudo port install subversion-javahlbindings +no_bdb +universal, as described here. (The link also includes a Homebrew command: brew install --universal --java subversion)
  • I downloaded the "allplatforms" 3.0.4 connectors archive from Subversive Connector Archives for Subversive 1.0/1.1 and extracted this to a local directory
  • Added this directory as a local repository in Eclipse Install New Software->Add.. which then gives you the ability to add the bundled SVN connectors, JavaHL or SVNKit. I used Native JavaHL 1.8 implementation for my SVN 1.8 install.
like image 95
Andy Birchall Avatar answered Oct 21 '22 17:10

Andy Birchall