After wasting a lot of time myself, I thought this could serve some other people…
So here’s how I did it :
- First install the Subclipse plugin
- Run sudo eclipse (that will install plugins system-wide)
- Eclipse > Install new software > Add
- Name = “whatever”
- Location = http://subclipse.tigris.org/update_1.6.x
- OK
- Work with: “whatever”
- Select these to install :
- CollabNet Merge Client
- Subclipse
- Subclipse Integration for Mylyn 3.x
- Subversion Client Adapter
- Subversion JavaHL Native Library Adapter
- Subversion Revision Graph
- If you get a “Subversion 1.6 contains a bug that causes Eclipse to crash …. GNOME keyring … we recommand … “, choose OK.
Next install the Java bindings for SVN
- sudo apt-get install libsvn-java
- Eclipse > Window > Preferences > Team > SVN
- If that triggers a “Failed to load JavaHL Library.” error, you need to add libsvnjavahl-1 in the Eclipse path :
- Just throw a symlink into one of the path in the error message :
sudo ln -s /usr/lib/jni/libsvnjavahl-1.so /usr/lib/libsvnjavahl-1.so sudo ln -s /usr/lib/jni/libsvnjavahl-1.so.0.0.0 /usr/lib/libsvnjavahl-1.so.0.0.0
Restart eclipse and step 3 should be solved.
Perhaps you want to use SVN with existing checkout project ?
- Right-click on your project in Eclipse
- Team > Share Project > svn > Validate Conneciton on Finish > Finish