In this visual tutorial we'll learn how to check a project out from an existing Subversion repository using the Subclipse plugin for Eclipse.
I'm using the Eclipse IDE for Java EE Developers 3.4.1 (Ganymede) here, and Subclipse 1.4. I'm assuming that you already have Eclipse and Subclipse installed, that you already have a working Subversion repository, and the project that you want to check out already exists. If you haven't already installed Subclipse, please see my tutorial Installing the Subclipse Plugin for Eclipse/Subversion Integration.
Step 1. Bring up the New Project dialog. Right-click inside your Project Explorer and go to New > Project....
Step 2. Choose the SVN project wizard. The next dialog is called "New Project", and you will need to choose the wizard you want to use to create the new project. Choose SVN > Checkout Projects from SVN, as shown below, and then press the Next button.
Step 3. Select/create the repository location. The wizard asks us to either select or create a repository location, as shown below. We'll create one. Choose Create a new repository location and press Next.
Step 4. Enter a repository location. The wizard asks us to
provide a URL for the repository location. Enter your repository
location and press Next if you want to select a folder within that
location (for example, if you want to select a trunk folder), or
select Finish if you've specified the exact folder you want to
check out. For our purposes we'll press Next.
Step 5. Select a folder to check out. The wizard now wants us to select a folder that lives in the location you specified. Choose your folder as shown below, and press Next. (Again, we can just press Finish at this point, but I want to show you the options available.)
Step 6. Specify checkout parameters. Now we can specify some
parameters around the checkout. It's going to be different depending
on the specifics of your folder. The default project name is going to
be the name of the repository location we originally chose (for
me, springinpractice) rather than the name of the folder
we chose subsequently (for me, trunk), so if you need to
change that feel free. After that press Next. Anyway here's how
it looks:
Step 7. Specify checkout location. Subclipse wants to know where to place your new project, as below. You can choose whatever you like. I'll just go with my default workspace location (which would be what you would normally do) and press Finish.
After that, Eclipse will do its thing for a while (i.e., it will check out the project). After it's done, you should see your new project in the Project Explorer, as below.
Congratulations! That's it.