This is an interesting drill I have done yesterday. Microsoft VSS is mainly used version control in my organization; I am happy with SVN. So here comes the installation and creation of SVN repositories. You will find the integration of SVN with eclipse as well.
Installing the Subversion in Windows box
Prerequisites: Install Python for windows, make sure no servers are listening to port 80 (else, you can reconfigure the subversioning portal after installing)
Install the Collabnet subversion tool downloaded. It is pretty much straight forward. At the end, You will see the local file that gives access to your SVN server. You need to wait the console status becomes ‘ready‘. Then click on the URL given with the stated credentials.
Logging in as admin/admin
Verify the server status. Make sure subversion status us UP and green. Note the repository parent path is given here. We will be using this later while integrating this with Eclipse.
Clicking on Repositories tab, we can add/modify repositories and defind the access rules.
fyi! Creating a new repository.
Users Tab, Create users here with specified user role.
Subversion is up and running now. We have created users and repositories.
Installing Eclipse plugin for SVN
Now we will be installing the subversion plugin for Eclipse IDE. Add http://download.eclipse.org/releases/helios to update sites. Select the necessary tools in ‘Collaboration’. (Don’t forget to include SVN tools).
We need to install two things.
- SVN plugin
- SVN connector
To start, lets install the plugin.
You may be asked for Eclipse restarts couple of times.
This is the time to install SVN connector. I have selected two as follows.
Now change the prospective to SVN.
We can add new SVN location to check out existing projects.
Else, we can share an existing project from Eclipse. Select Team>Share to push a Eclipse project into SVN.
Enter the svn location and credentials
Share the new project
Commit the code
Done! See the SVN globe symbol in the eclipse project now!