Setting Up Eclipse and SVN

Version 1, last updated by r_alampay at 2008-09-04

This will walk you through on how to get SVN working in your Eclipse IDE (aka Subclipse). With Subclipse, you will be able to edit and update changes in the code base for the development of the system via SVN.

 Step 1:

Download and Install Eclipse

You can download Eclipse for free here (Windows) , here (Mac OS X), here (Linux 32bit) and here (Linux 64bit) . Since Eclipse is written in Java, you'll have to have a Java Runtime Environment installed in your computer.

 (Eclipse is the same for every platform. So no matter what picture is shown in the next steps are applicable to all platforms running Eclipse).

 

Step 2: 

After installing Eclipse, start it up. We'll now start to install the SVN feature of Eclipse (aka Subclipse). We begin by opening the the Find and Install option in the Software Updates under Help as shown in the picture:

Find and Install option

 

Step 3:

Select the "Search for new features to install" radio button option.

 

Step 4:

This screen will vary depending on the features you have installed already. You want to click on the New Remote Site button. If you are behind a proxy and the Eclipse install mechanism does not work, then you can download a zipped version of the update site and then click the New Local Site button instead.

 

Step 5:

A New Update Site dialog will appear. Depending on your version of Eclipse, you should enter the following information:

 Name: Subclipse 1.4.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.4.x

Name: Subclipse 1.2.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.2.x

Name: Subclipse 1.0.x (Eclipse 3.0/3.1)

 

 

Step 6:

When you return to the Install window, you should check the new install site you just put in. It won't be selected at first so you'll have to check that box named Subclipse (or the name you initially put in).

 

(The following steps are pretty straightforward so I'll just copy and paste away. hehe)

Step 7:

 This next screen shows all of the features that are available to install.

 

Step 8:

Click the button to accept the license agreement.

 

Step 9:

Confirm the install location

 

Step 10:

There is an Eclipse preference to turn off this next dialog. I have never seen a signed feature. Not even Eclipse.org nor IBM sign their features.

Step 11

Just a screenshot of the in-process installation.

Step 12:

Eclipse needs to be restarted after installing Subclipse.

 

 

Step 13:

Finally, after restarting Eclipse, the first thing you will typically want to do is open the Subclipse Repository perspective where you can define your repositories. Be sure to also check the online help as well as the Subclipse preferences located under Team -> SVN

 

------

 

Most of the stuff here was taken from here .

 

That's pretty much it. For the next step, you should go check out the how to use subversion page to get started on coding.:)

 


Comments are disabled for this space. In order to enable comments, Messages tool must be added to project.

You can add Messages tool from Tools section on the Admin tab.