Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn for eclipse on mac os lion

I need to use Subversion with Eclipse on Mac Lion. I encounter problem as below

I saw: Subclipse in Mac OS Lion shows "Unable to load default SVN client" error

In my context:

  • I use Mac OS Lion 10.7.2
  • Eclipse version: 3.7.1 64 bit
  • I install Subversion: Universal Subversion 1.6.17 Binaries for Lion (Mac OS X 10.7) in the page: http://www.open.collab.net/downloads/community/
  • I install Subclipse by the "Install New Software..." feature of Eclipse with the update link: http://subclipse.tigris.org/update_1.8.x It install Subclipse 1.8.2, JavaHL 1.7.1.1 and some other packages.
  • When I go to menu Preferences/ Team / SVN , it produce error: "Incompatible JavaHL library loaded. 1.7.x or later required."
  • I find to install SVN Kit, so use it instead of JavaHL as the very first link refer (here), but I don't see it in Subclipse package.
like image 890
vietstone Avatar asked Nov 12 '11 05:11

vietstone


People also ask

Can we use SVN on Mac?

To install the Subversion command line client on a macOS, follow these steps: Download the appropriate macOS binary package for your macOS version (macOS 10.8 is the latest) from Wandisco. Install the file and follow the steps.

What is SVN server on Mac?

SVN Server allows you to easily install and manage a fully-functional Subversion server on the Mac OS X platform. SVN is a time machine for your source code, whenever something goes wrong in your project, you can always rollback to a solid revision.


2 Answers

The issue is that you need the right native Subversion libraries for the version of Subclipse you use. This page has information and a chart of the versions:

http://subclipse.tigris.org/wiki/JavaHL

The binaries on CollabNet website are still for SVN 1.6 so you either need to get SVN 1.7 binaries (MacPorts and Homebrew are good places to get it) or you need to use Subclipse 1.6.x.

like image 154
Mark Phippard Avatar answered Oct 28 '22 23:10

Mark Phippard


Follow the steps as below to get it working:

  1. Install subclipse via update url: http://subclipse.tigris.org/update_1.8.x
  2. Install subversion using the binary from here: http://www.ubersvn.com/download (scroll down to "Command-Line Client 1.6.18 and 1.7.6 certified by WANdisco" section since that's all you need)
like image 29
Tuyen Dinh Avatar answered Oct 28 '22 23:10

Tuyen Dinh