Home :: Documentation :: Build Instructions

How to build JavaSVN library from sources

Get JavaSVN source code with the svn command line client

$ svn co http://72.9.228.230:8080/svn/jsvn/trunk javasvn

Go to checked out directory

$ cd javasvn

Use ANT to build javasvn.jar

$ ant build-standalone

javasvn/lib directory will contain built library jar file (javasvn.jar) and JSCH library (jsch.jar) that is needed if you are going to use svn+ssh connection protocol.

How to build JavaSVN Subclipse Extension plugin from sources

Get JavaSVN source code with the svn command line client

$ svn co http://72.9.228.230:8080/svn/jsvn/trunk javasvn

or (to check out specific version):

$ svn co http://72.9.228.230:8080/svn/jsvn/tags/TAG_NAME javasvn

Go to checked out directory

$ cd javasvn

Set ECLIPSE_HOME environment variable (should point to Eclipse 3.1M6 (or newer) home directory)

$ set ECLIPSE_HOME=/home/user/java/eclipse31M6

Use ANT to build javasvn.jar

$ ant deploy

build/eclipse directory will contain Eclipse javasvn plugin, feature and update site files.

To make Eclipse use the plugin you've just built, replace existing files in ECLIPSE_HOME/plugins/org.tmatesoft.javasvn_VERSION/ directory with the files from build/eclipse/plugins/org.tmatesoft.javasvn_VERSION and restart Eclipse:

$ eclipse -clean

If you have any questions regarding JavaSVN, would like to report a bug or contribute a patch, please write to support@tmatesoft.com

(c) 2004-2005 TMate Software. All rights reserved.