RSS

Search Engine

Showing posts with label SVN in Eclipse (Subversive). Show all posts
Showing posts with label SVN in Eclipse (Subversive). Show all posts

Wednesday, November 17, 2010

Eclipse Subversive

Subversion is a centralized version control system, e.g. the whole history of a project is stored on a server. Subversion libraries and executables are written in the programming language C. Alternatives to centralized version control system are distributed version control systems, for example Git .

Eclipse Subversive is a plugin for Eclipse to use subversion (svn). To use subversion from Eclipse you need the Eclipse plugins which extends Eclipse with the subversion functionality and you need connectors which allows to connect from Java to subversion. Unfortunately the Eclipse UI plugins and the connectors are in different update sites due to license reasons with the connectors.

Connectors

You have the choise between two svn connectors SVNKit and JavaHL. The differences between the connectors is described in Subversive Connectors . The versions of the connectors correspond to the svn version.

Table 1. SVNKit

Connector svn version
SVNKit 1.2.X For SVN 1.5
SVNKit 1.3.X For SVN 1.6

Table 2. JavaHL

Connector svn version
JavaHL 1.5.4 Win32 Binaries and Native JavaHL 1.5 For SVN 1.5 For SVN 1.5
JavaHL 1.6.X Win32 Binaries and Native JavaHL 1.6 For SVN 1.6 For SVN 1.6

Installation

Use the Eclipse update manager to install "Subversive SVN Team Provider" from the Helios Update site. Restart your Eclipse. After the restart Eclipse will start the Connector Discovery which allows you to install the connectors. Use SVNKit as a connector if you are behind a proxy.

You can install the connectors directly via via the update manager http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/

Appendix: Tips

4.1. Ignored resources

Subversive ignores certain resources per default. Which resources are ignored can be configured via Windows -> Preferences -> Team -> Ignored Resources. You can add resource patterns like "bin", "build" so that these are also ignored.

Thank you

If you like this tutorial please support this website.