Getting SVN running under Eclipse 3.4 Ganymede August 27
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.
Anderson Sep 4
Hi Mirko,
How do I Install the SVN conectors ?
Mirko Sep 4
Hi Anderson,
I just updated the blog. It should be more precise now on how to install an update site and the connectors. Further help can also be found in the Eclipse Help under “Help” > “Help Contents”, but this is not always quite clear, what to choose actually.
Mirko
Iván Sep 4
Mirko, excellent page about this issue using SVN and Eclipse 3.4. It helped me a lot because I don’t know why I didn’t have the SVN Connectors installed after update.
Thanks so much!
Iván.
Shervin Sep 16
Thanks alot for this.
Helped me.
Jety Sep 17
I followed your steps, thanks a lot, however I still could not see SVN commands in my existing Eclipse SVN projects. The solution is to use Team/Share projects… command to reconnect them in Eclipse (I also tried Help > Subversive > Migrate projects and settings but it was ending without significant change or error message). Read here for detailed instructions if you need - http://jetensky.net/blog/2008/09/17/adding-teamsvn-commands-for-existing-projects-eclipse-ganymede/.
Lucas Sep 29
I followed your steps, thanks a lot.
However in step 4, my SVN connector drop-down menu is empty.
There is no options.
Do You Have Any Idea? Thanks in advance.
Lucas Dicésaro
Lucas Sep 29
Other option:
I’ve solved my problem installing subclipse. Tanks again
Johan Sep 30
Lucas,
I’m having the same problem. How did you fix yours?
Johan Sep 30
I’ve solved it too
Reading this post on http://stackoverflow.com
http://stackoverflow.com/questions/139055/subversive-connectors-not-working-with-newest-ganymede-update
Mirko Sep 30
Thanks Johan, I updated my blog to reflect your findings. It would be interesting if this was also the solution for Lucas.
Bojan Oct 31
Thanks a lot for putting these instructions up! Ganymede is great, but the lack of pre-packaged SVN support (or a REALLY easy way to install it) in Eclipse is really embarrassing if you ask me.
Chebiyam Nov 4
Thanks a lot Mirko, I was struggling for long to make this work. Thanks for the help again. Cool stuff.
Kurt Olsen Nov 8
Thanks, lack of out-of-the box SVN is frakking pitiful for an “INTEGRAGED DEV ENVIRONMENT” - They made all sorts of noise about subversion support being integrated, but it isn’t, and nowhere do they provide easy to follow instructions. It’s not embarrasing, it’s sick….