Home :: Documentation :: For Subclipse Users

How to make Subclipse (0.9.25) use JavaSVN library

Though JavaSVN is not yet fully integrated into Subclipse as an extension, you may already try it with Subclipse. Perform the following easy steps to make Subclipse and JavaSVN work together:

SVN+SSH authentication with private key

JavaSVN uses pure java JSCH library to establish SSH connection. This library supports only SSH version 2, with password or private key authentication. Using password authentication is not a problem with Subclipse, but currently it doesn't provide a way to define private key and passphrase for private key authentication. You may use the following properties to let JavaSVN know about your private key and passphrase (you need to provide these properties when starting Eclipse):

$ eclipse -vmargs -Djavasvn.ssh2.key=/path/to/private/key/file \
-Djavasvn.ssh2.passphrase=optionalPassphrase

Making SvnAnt use JavaSVN

Step-by-step instructions:

After performing the steps above svnant will use JavaSVN instead of JavaHL bindings.

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 TMate Software. All rights reserved.