In this visual tutorial we're going to learn how to install a Subversion plugin into Eclipse. In a separate tutorial we'll also show how to check out a SVN project after we've installed the plugin.
I'm using the Eclipse IDE for Java EE Developers 3.4.1 (Ganymede) here. The specific Subversion plugin I'm using is Subclipse 1.4. I'm assuming that you already have a working Eclipse installation.
Step 1. Bring up the Software Updates dialog. In general, to add plugins to Eclipse, go to Help > Software Updates... So let's do that here:
Step 2. Bring up the list of update sites. A dialog box called "Software Updates and Add-ons" will appear. It has a couple of tabs. Click on the tab called Available Software. You should see a list of so-called update sites. An update site is just a web location that hosts some Eclipse plugin. The exact list will vary depending on your installation. Here's how it looks:
Step 3. Add the Subclipse update site. We need to add a new update site to the list. Since I want Subclipse 1.4 here the URL is
http://subclipse.tigris.org/update_1.4.xAnyway, press the button Add Site... and you'll get another dialog box. Enter the URL for the Subclipse 1.4 update site as shown below and then press the OK button.
Step 4. Install Subclipse. Eclipse will now update your list of available software. Even though you added only one update site, Eclipse will add dependency update sites as well. In this case Eclipse adds update sites for both Subclipse and SVNKit. In this case we're interested only in Subclipse itself and the recommended JavaHL Adapter, so click the checkboxes next to JavaHL Adapter (recommended) and Subclipse (required) as shown below, and then press the Install button. If you decide you want some of the other stuff like the Revision Graph then that's fine. You can always go back and add that once you get the main plugin installed. Anyway, here's the screenshot:
Step 5. Finish the installation. After pressing the install button, you'll see a progress dialog that does its thing for a little bit, and then a new "Install" dialog will appear as shown below. Click the Finish button to complete the installation. Again you'll get a progress dialog and if everything goes well, you're almost done.
Step 6. Restart Eclipse. Eclipse will recommend that you restart it. I'm not one to argue with Eclipse about something like that, so click Yes and you should be good to go.
Step 7. Verify the installation. Once Eclipse starts back up, we now hopefully have a working Subclipse installation. We can verify that by going to Help > About Eclipse Platform. A dialog box will box up with a button called Feature Details. Press that and you will see a dialog box called "About Eclipse Platform Features". Check the list to find Subversion-related features, as shown below. (I've added the color highlighting to the figure myself.)
That completes the installation. If you're ready to check out an existing project from Subversion, see my article Checking Out a SVN Project in Eclipse.