Using version control with Eclipse

From EngGuide

Contents

Version Control

Version control is very important when creating software. It tracks changes in code, provides a trail for determining which programmer changed what piece of code, provides a central location to retrieve and submit changes, and most importantly backs up the project.

Version control allows for many users to collaborate on the same software project. A version control system allows more than one person to work on the exact same file. When each person is done making their changes, they will merge the many different versions of the file into one, usually creating a working and seamless combination of the many users changes.

Eclipse provides a default implementation of accessing a CVS repository. It also has a plugin called Subclipse that allows interfacing with SVN repositories. SCESOC provides a SVN server so this article will describe version control using SVN.

SVN and Subclipse

Subclipse is a plugin for Eclipse that provides SVN support. It integrates seamlessly with Eclipse to provide version control.

Installing Subclipse

Subclipse Installation - Subclipse installation instructions

Once installed, the Subclipse plugin will provide a SVN perspective. The SVN perspective will show available repositories and the projects contained in them.

Checking Out Projects

Committing Changes

Merging Conflicts