The only pure Java Subversion library in the world!
Home Get Library Knowledge Base Licensing

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/svn/jsvn/trunk javasvn

or (to check out specific version):

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

Go to the 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, copy all files from JAVASVN/build/eclipse/plugins and JAVASVN/build/eclipse/features to corresponding Eclipse directories and restart Eclipse:

$ eclipse -clean

Or use "Local Update Site" at JAVASVN/build/eclipse/site directory to install JavaSVN Subclipse Extension


Using Subclipse with the JavaSVN library

The latest version of Subclipse (0.9.33) already comes with JavaSVN embedded. All you need is to select JavaSVN on the SVN preference page (in Eclipse Window menu -> Preferences -> Team). If using a version earlier than 0.9.33 you still need to perform the following steps with Eclipse Update Manager (tested with Eclipse 3.1M6, WinXP):

  • Add http://tmate.org/svn/ as an update site to Eclipse Update Manager.
    Use Help | Software Updates | Find and Install in main menu.
  • Install "JavaSVN Subclipse Extension" feature.

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