vogella.de

Follow me on twitter
About Lars Vogel
Flattr this

SVN in Eclipse (Subversive)

Lars Vogel

Version 0.9

24.08.2010

Revision History
Revision 0.110.06.2009Lars Vogel
Created
Revision 0.2 - 0.903.07.2009 - 24.08.2010Lars Vogel
bugfixes and enhancements

Subversive (SVN) with Eclipse

The following describes the installation of Eclipse subversive and gives a short comparison of the different svn connectors. This article is based on Eclipse 3.6 (Helios).


Table of Contents

1. Eclipse Subversive
2. Connectors
3. Installation
4. Appendix: Tips
4.1. Ignored resources
5. Thank you
6. Questions and Discussion
7. Links and Literature
7.1. Source Code
7.2. Eclipse Subversive Resources
7.3. vogella Resources

1. Eclipse Subversive

Subversion is a version control system. Subversion is based on libraries and executables written in the programming language C.

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.

2. 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

3. 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/

4. 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.

5. Thank you

Thank you for practicing with this tutorial.

I maintain this tutorial in my private time. If you like the information please help me by using flattr or donating or by recommending this tutorial to other people.

Flattr this

6. Questions and Discussion

Before posting questions, please see the vogella FAQ . If you have questions or find an error in this article please use the www.vogella.de Google Group . I have created a short list how to create good questions which might also help you. .

7. Links and Literature

7.1. Source Code

Source Code of Examples

7.2. Eclipse Subversive Resources

http://www.eclipse.org/subversive/ Subversive home page