Spring IDE Source Code Repository

The Spring IDE project uses the Subversion version control system http://subversion.tigris.org/ as source code management system. On their website the Subversion developers write the following statement:

The goal of the Subversion project is to build a version control system 
that is a compelling replacement for CVS in the open source community.

A good starting point for Subversion is the project FAQ at http://subversion.tigris.org/faq.html or the free-of-charge book at http://svnbook.red-bean.com/.

Currently we are using Subversion version 1.4.3.

Accessing the Repository with Eclipse

Installing Subversion client

The Subverson client must be installed to access the repository via command line. The subverson client could be downloaded from http://subversion.tigris.org/project_packages.html. Install it with the nomal installation routine (see subversion documention for further information)

Installing Subclipse

Subclipse is an Eclipse plug-in that adds Subversion integration. This lets a group of programmers work on the same set of files without overwriting each others' changes.

Howto install it:

  1. Start Eclipse.
  2. Go to Help > Software Updates > Find and Install....
  3. Choose Select Search for new features to install and click Next.
  4. Click New Remote Site.... For Name, enter Subclipse update site and for URL, enter http://subclipse.tigris.org/update then click OK.
  5. Click on Finish.
  6. Click the checkmark next to Subclipse to check upadatesite and press Finish.
  7. Click the checkmark next to Subclipse to downlaod subclipse and press Next
  8. Read and accept the license terms, then click Next and Finish to begin the installation.
  9. Click Install All when prompted about installing an not digitally signed feature. (Subversion Java API and Subclipse will be installed)
  10. Wait a few moments for the installation to complete, then choose Yes when prompted to restart Eclipse.

Accesing the repository over a proxy

To access the repository over a proxy see Elipse Help > Eclipse SDK Help > Version Control with Subversion > Chapter 7. Advanced Topics

Accessing the repository over SSL (https)

Before you can access the reposity over SSL with subclipse you have to access it via the commandline. After executing the next commands via command line the server certificate fingerprint will be saved into your Application Data\Subversion\auth\svn.ssl.server (Windows) direcotry.

>svn info https://springide.org/repos/trunk
Error validating server certificate for 'https://springide.org:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: dav.christiandupuis.de
 - Valid: from Nov 29 20:35:06 2004 GMT until Nov 29 20:35:06 2005 GMT
 - Issuer: none, none, Frankfurt am Main, H, DE
 - Fingerprint: 0d:28:fa:72:a0:8c:c7:8f:5a:91:a2:6c:f8:3a:70:e6:30:5c:02:f3
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Path: trunk
URL: https://springide.org/repos/trunk
Repository Root: https://springide.org/repos
Repository UUID: a5e80fa1-9ff3-0310-9a91-c588663a130c
Revision: 586
Node Kind: directory
Last Changed Author: tjuerge
Last Changed Rev: 586
Last Changed Date: 2005-08-01 23:03:26 +0200 (Mo, 01 Aug 2005)

Configure Subclipse for repository access

  1. Open Perspective
    Open_Perspective
  2. Select Other
  3. Open SVN Repository Exploring
  4. Add SVN Repository
    Add_SVN_Repository
  5. Fill in Url: https://anonsvn.springframework.org/svn/spring-ide
    Add a new SVN Repository
  6. Fill in username and password (anonymous access doesn't need username and password)

Accessing the Subversion repository command line

The Spring IDE Subversion repository is accessible from https://anonsvn.springframework.org/svn/spring-ide/.

If you want to check out the complete source code use the following command from your favorite shell

svn co https://anonsvn.springframework.org/svn/spring-ide/trunk

Trac and Subversion

Trac and Subversion are tightly integrated using the existing Subversion repository hooks like pre-commit or post-commit. Furthermore Trac's Timeline feature provides an pretty usefull view on the project activities.


See also: SpringideDevelopment, SpringideBuild, SpringideAutomaticBuild

Attachments