Getting SVN running under Eclipse 3.4 Ganymede August 27, 2008
I am using Eclipse since version 2.1 and I can’t imagine to work without it anymore. However, some things like the missing integration of SVN in the default distributions annoyed me for quite some time. Now with Eclipse 3.4, we have a build-in SVN support, but unfortunately the installation is anything but convenient. That’s why I decided to go through the process in my blog. Maybe this helps some of you out there to safe some time.
1. If you haven’t done it already, download Eclipse from http://www.eclipse.org (which version depends on your personal needs, but I usually go for the PDE version)
2. After having downloaded and “installed” Eclipse, go to the Eclipse update site (within Eclipse: “Help > Software Updates…”. Select the “Available Software” tab and then go to “Ganymede > Collaboration Tools > Subversive SVN Team Provider” and install the SVN Client.
(optional – actually for me it worked, so I would recommend it when running under Windows, install the Windows SVN client from Tortoise http://tortoisesvn.net/downloads. Under OS X however, you can safely skip this step.)
3. Now you need to add the actual SVN Connector from the following update site (no idea, why this one hasn’t been included in the first place!):
http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/
To do so, click: “Help” > “Software Updates…”. Select the “Available Software” tab and then click on “Add Site…”. Copy and paste the update site url into the dialog box and press “OK”. Now you should see the new update site in the list as a URL. Now open this update site and go to “Subversive SVN Connectors”. You’ll find a list mit all available connectors. You certainly can install all of them and try them out, one by one, which fits best for your environment. For me however, the “Native JavaHL 1.4.5 connector” together with the “SVNKit 1.1.7″ connector worked. (For those who haven’t installed the Tortoise Client, I think you have to install the Windows binaries, but I can’t confirm that without having tested it – maybe some of you who tried it can comment on this one)
4. Once you have this installed (and restarted your eclipse) select the installed connector in the SVN preferences (“Window > Preferences > Team > SVN” in the “SVN Connector” tab choose your connector in the drop-down menu.
That should be pretty much it. I am really wondering, why this has to be such an effort to just get the SVN to work. Really not the best user experience, if you ask me.
Cheers,
Mirko
Update Sept., 04th 2008: Fixed a menu name and extended the explanation for step 3.
Update Sept., 30th 2008: Updated the URL to the Polarion update-site according to feedback from Johan.