JavaSVN The only pure Java Subversion client library in the world!

Home :: Knowledge Base

Using Library

JavaSVN API (javadoc)
Generated Java Documentation for API packages which include:
org.tmatesoft.svn.core.io - contains a low-level API for direct interacting with an SVN repository.
org.tmatesoft.svn.core.wc - contains a high-level API for managing Working Copies. This package represents client classes which functionality is similar to the native SVN command line client.
org.tmatesoft.svn.core - common package that contains interfaces and classes used by the low-level API as well as the high-level one.
The following separate packages are the base set of interfaces and classes used by JavaSVN for authentication and delta (versioned context changes) managing purposes:
org.tmatesoft.svn.core.auth - contains interfaces and classes used for authentication purposes by the low-level API as well as the high-level one.
org.tmatesoft.svn.core.io.diff - contains interfaces and classes used for text/properties delta generating, manipulating, etc.
And yet one package for a javahl replacement:
org.tmatesoft.svn.core.javahl - contains an implementation of SVNClientInterface to use instead of the native SVN binding - SVNClient. This implementation uses the JavaSVN library.
Library Usage Examples
Here you can find several example programs demonstrating how to use both low- and high-level APIs. The left-hand frame contains names of example program files which are read from the repository. The right-hand frame will show you highlighted source code for example programs as you click on file links.
How to use ISVNReporter/ISVNEditor in update-related operations
This article gives a brief overview on using ISVNReporter/ISVNEditor (from package org.tmatesoft.svn.core.io) in update, checkout operations.
How to obtain debug logs of JavaSVN operations
JavaSVN writes log information for all input and output data interactions with a repository server as well as for bug and error situations that happen during the run. This article describes how you can get this log file with detailed information on the library run-time history.
Using JavaSVN with Ant
This article describes how you can use JavaSVN in Ant tasks.

Building Library

Standalone
Would like to use JavaSVN in a standalone application? Read this article about how to build a standalone JavaSVN library from sources.
To use as Subclipse Extension plugin
Would like to have JavaSVN as an Eclipse plugin? Read this article about how to make Subclipse plugin use JavaSVN.
To use with SvnAnt
This is brief instructions of how to make SvnAnt use JavaSVN.

Sources of future information

Mailing Lists
If you want to ask questions about JavaSVN API, don't understand how to make things work, would like to get questions of other users and receive answers of the JavaSVN support service, wish to discuss a problem or suggest a feature, would like to get announcements of new JavaSVN versions, you should join our mailing list.
Issue tracker
Use this link to view JavaSVN issues or submit a new one. Please read documentation chapter on how to get JavaSVN log before submitting a bug report.