Friday, April 4, 2008

Eclipse + SVN

This is very simple and quick to do, but first a quick note: I have tried this on Eclipse 3.2 and everything installed fine, but any time I went to do anything with SVN through Eclipse, Eclipse died a horrible death. But I'm not sure if this was an issue with Eclipse 3.2 or the fact it was installed through apt-get on Ubuntu, it all worked first when I used the Eclipse 3.3 manually downloaded from the webpage. Quick note over.

Quick note 2: It should go without saying , but you need to have the Java JDK installed , not just to run eclipse but also to do any compiling with eclipse. My JDK of preference is the latest JDK 6 from sun, just google how to download and install. There is plenty of info out there. Quick note 2 over.

Firstly have Eclipse downloaded. At time of writing I downloaded Eclipse version 3.3.2 from http://www.eclipse.org/downloads/

Unpack the downloaded tar.gz or zip file into the location you want eclipse to run from. If you are using windows run the file "Eclipse.exe" or if you are using some linux distro run "eclipse"

1. Once Eclipse is running, look to the top menu bar, click Help -> Software Updates -> Find and Install.

2. Tick the box "Search for New Features to Install" then Click "Next"

3. Select "New Remote Site" and fill in Name with "Subversion" and URL with http://download.eclipse.org/technology/subversive/0.7/update-site/ then Click ok to add.

4. Repeat step 3 just file in Name with "Subversion Connectors" and URL with http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/

Note: The names are compulsory to fill in but can be called what ever you like.

5. Select the two boxes beside "Subversion" and "Subversion Connectors" and click "Finish"

6. Select all packages that don't cause conflicts, and then Click "Finish"

7. Select all terms and conditions

8. Select "Install All"

9. Let Eclipse restart and you now have you Subversion plugin ready to import a project from a subversion repository and commit code to a subversion repository

1 comments:

Schi-baba Welter said...

Hi,

Just checked out your blog and found some interesting stuff in it. Keep it up.