Subversion : Java Glossary

go to home page S words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish 2008-07-26 by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
Subversion
aka SVN. A source code version control system to replace CVS. It is available as source or as binaries for 11 different operating systems. Subversion fixes many of the infuriating CVS problems e.g. Eclipse is still using CVS, but gradually the world is flipping over to Subversion. You can monitor the trend looking at which repository the various open source projects use.

There are five ways to access the Subversion server:

Ways to Access the Subversion Server
Protocol Notes
file:/// Direct repository access (on local disk)
http:// Access via WebDAV protocol to Subversion-aware Apache server over the Internet
https:// Same as http://, but with SSL encryption
svn:// Access via custom protocol over port 3690 to an svnserve server. Subversion runs as a Windows service.
svn+ssh:// Same as svn://, but through an SSH tunnel
There are also groups who will host your Subversion project for you if you use one of the official open source licences. See distributing Java Source for details.

When you install Subversion, it uses three directories:

  1. C:\Users\user\AppData\Roaming\Subversion for the configuration files.
  2. F:\Program Files\CollabNet Subversion Server for the program files.
  3. F:\svn_repository for the repository files.

The server has no UI other than the config files. To control it you need some sort of client, e.g svn, svnadmin, Tortoise SVN.

There is no step-by-step set of instructions to install a simple system. They want you to understand it in fullness before you use it. Here is an abbreviated get started instructions:

  1. Download and install the Subversion server, the appropriate binary. Set it up for purely local access.
  2. Download and install Tortoise SVN client.
  3. Go to F:\svn_repository in my computer.
  4. Right click to wake up Tortoise, then create the repository files.
  5. Edit the config file. In particular set up these fields:
  6. Go into IntelliJ Idea and use Import into Subversion to make a snapshot of your development files in subversion. If you don’t have Intellij, do this with Tortoise.
  7. Use Tortoise to browse the repository using the URL file:///F:/svn_repository
  8. Then you must check out to a directory where you can then start editing the files. You must checkout even though there are no changes from the ones imported.
The catch is this will capture all your files. There is no point in capturing class files, jars etc since they can easily be recreated from source code. I have not yet learned to teach Subversion to avoid capturing class files.

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.58] The information on this page is for non-military use only.
You are visitor number 4,621. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/subversion.html J:\mindprod\jgloss\subversion.html