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

How to build SVNKit Subclipse Extension plugin from sources

Get SVNKit source code with the svn command line client

$ svn co http://svn.svnkit.com/repos/svnkit/trunk svnkit

or (to check out specific version):

$ svn co http://svn.svnkit.com/repos/svnkit/tags/TAG_NAME svnkit

Go to the checked out directory

$ cd svnkit

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 svnkit.jar

$ ant deploy

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

To make Eclipse use the plugin you've just built, copy all files from SVNKIT/build/eclipse/plugins and SVNKIT/build/eclipse/features to corresponding Eclipse directories and restart Eclipse:

$ eclipse -clean

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


Using Subclipse with the SVNKit library

The latest version of Subclipse (0.9.33) already comes with SVNKit embedded. All you need is to select SVNKit 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://svnkit.com/ as an update site to Eclipse Update Manager.
    Use Help | Software Updates | Find and Install in main menu.
  • Install "SVNKit Subclipse Extension" feature.

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


Java™ and all Java-based marks are a trademark or registered trademark of Sun Microsystems, Inc, in the United States and other countries. TMate Software and the website svnkit.com are independent of Sun Microsystems, Inc. and have no relationship, formal or informal.