Eclipse 3.7, SVNKit, Ubuntu 64bit

Maybe it is my impression, but the combination mentioned in the title just does not work. After a successful synchronization with the repository Eclipse will insist that there are still local changes, but SVN will refuse to commit them. When forcefully committed (overwrite and commit) the repository will claim to have changes which however don’t show up in a diff etc.

I believe that this is a problem with recent SVNKit implementations since I so far did not have any problems with the Native JavaHL 1.6.12 version. There is a nice blog post [1] by Lorand Somogyi on how to get it.

The short story:

sudo apt-get install libsvn-java

and add this to vmargs in eclipse.ini:

-Djava.library.path=/usr/lib/jni

[update 2014.01.26] Find the library location with

 find / 2>/dev/null | grep “javahl”

Resources

[1] Subversive with JavaHl under Ubuntu
http://lorands.com/2008/08/subversive-with-javahl-under-ubuntu/ 

[2] subclipse:Wiki:JavaHL
http://subclipse.tigris.org/wiki/JavaHL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.