Using SVN on Mac OS via Subclipse

While using Subclipse for Subversion on Mac OS, you might encounter connection reset error during the SVN checkout.  

svn: E175002: Connection reset 
svn: E175002:Report request failed on '/project/!svn/vcc/default' 
svn:Connection reset 
svn: E175002:Report request failed on '/project/!svn/vcc/default' 
Connection reset

 

 

This is because of the missing JavaHL in your Mac Operating system. To fix this you need to install JavaHL  in your mac so that subversion on my computer could communicate with the subclipse plugin.

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

JavaHL is a part of the Subversion project. Specifically, it is the Java language binding for the Subversion API.
Subversion provides a layered API design that is delivered as native libraries (DLL's). The Subversion command line is
simply one consumer of this API. The API is rich in functionality but is also maintained for backwards compatibility.
This is the reason there are so many great Subversion clients and tools available, because there is a rich and stable
API that provides all of the functionality you need.

OSX comes with a SVN command line client, but unfortunately they do not include the JavaHL library.

The best thing to do is to install one of the OSX package managers for open-source software, such as MacPorts or
HomeBrew. If you are doing software development on OSX, you are going to eventually want or need different open-source
Unix applications. So it is worth the effort to set one of these up and they make it easy for you to get Subversion and
always have the latest version. You will also have easy access to other open source applications via similar simple
commands.

For MacPorts, the commands to run are:

sudo port install subversion-javahlbindings +no_bdb +universal
For HomeBrew the command is:

brew install --universal --java subversion
Pay attention to any post-install instructions related to creating a symlink in /Library/Java/Extensions. You need to
follow these instructions so that the JavaHL library is available by default to the JVM.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.