Size: 487
Comment:
|
Size: 2478
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Get '''SVNKit''' source code with the svn command line client | [[TableOfContents]] = Getting SVNKit sources = Get the '''SVNKit''' source code with the svn command line client |
Line 4: | Line 6: |
}}} Or (to check out specific version): {{{ $ svn co http://svn.svnkit.com/repos/svnkit/tags/TAG_NAME svnkit |
|
Line 11: | Line 18: |
Use [http://ant.apache.org ANT] to build '''svnkit.jar''' | = Building SVNKit binaries = Depending on how you are going to use '''SVNKit''' follow one of the how-to sections listed below. == Building a standalone SVNKit version == Use [http://ant.apache.org ANT] to build '''SVNKit''' binaries: |
Line 16: | Line 28: |
{{{svnkit/lib}}} directory will contain a library jar file ('''svnkit.jar''') built and the Ganymed library jar ('''ganymed.jar''') that is needed if you are going to use svn+ssh connection protocol. | {{{svnkit/build/lib}}} directory will contain a library jar file ('''svnkit.jar''') and the Ganymed library jar ('''ganymed.jar''') that is needed if you are going to use svn+ssh connection protocol. == Building SVNKit as an extension plugin for Subclipse == Set an {{{ECLIPSE_HOME}}} environment variable (should point to [http://www.eclipse.org Eclipse] 3.2.2 (or newer) home directory) {{{ $ set ECLIPSE_HOME=/home/user/java/eclipse322 }}} Use [http://ant.apache.org ANT] to build '''SVNKit''' binaries: {{{ $ ant deploy }}} {{{svnkit/build/eclipse}}} directory will contain [http://www.eclipse.org Eclipse] SVNKit plugin, feature and update site files. To make [http://www.eclipse.org Eclipse] use the plugin you've just built, copy all files from {{{svnkit/build/eclipse/plugins}}} and {{{svnkit/build/eclipse/features}}} to corresponding [http://www.eclipse.org Eclipse] directories and restart [http://www.eclipse.org Eclipse]: {{{ $ eclipse -clean }}} Or use "Local Update Site" at {{{svnkit/build/eclipse/site}}} directory to install an '''SVNKit''' extension plugin for [http://subclipse.tigris.org Subclipse]. === Using Subclipse with the SVNKit library === Since version 0.9.33 [http://subclipse.tigris.org Subclipse] already comes with '''SVNKit''' embedded. All you need is to select '''SVNKit''' on the SVN preference page (in [http://www.eclipse.org Eclipse] Window menu -> Preferences -> Team). If using a version earlier than 0.9.33 you still need to perform the following steps with [http://www.eclipse.org Eclipse] Update Manager (tested with Eclipse 3.1M6, WinXP): * Add {{{http://svnkit.com/}}} as an update site to [http://www.eclipse.org Eclipse] Update Manager. * Use Help | Software Updates | Find and Install in main menu. * Install "SVNKit Subclipse Extension" feature. |
Getting SVNKit sources
Get the 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
= Building SVNKit binaries = Depending on how you are going to use SVNKit follow one of the how-to sections listed below.
Building a standalone SVNKit version
Use [http://ant.apache.org ANT] to build SVNKit binaries:
$ ant build-standalone
svnkit/build/lib directory will contain a library jar file (svnkit.jar) and the Ganymed library jar (ganymed.jar) that is needed if you are going to use svn+ssh connection protocol.
Building SVNKit as an extension plugin for Subclipse
Set an ECLIPSE_HOME environment variable (should point to [http://www.eclipse.org Eclipse] 3.2.2 (or newer) home directory)
$ set ECLIPSE_HOME=/home/user/java/eclipse322
Use [http://ant.apache.org ANT] to build SVNKit binaries:
$ ant deploy
svnkit/build/eclipse directory will contain [http://www.eclipse.org Eclipse] SVNKit plugin, feature and update site files.
To make [http://www.eclipse.org Eclipse] use the plugin you've just built, copy all files from svnkit/build/eclipse/plugins and svnkit/build/eclipse/features to corresponding [http://www.eclipse.org Eclipse] directories and restart [http://www.eclipse.org Eclipse]:
$ eclipse -clean
Or use "Local Update Site" at svnkit/build/eclipse/site directory to install an SVNKit extension plugin for [http://subclipse.tigris.org Subclipse].
Using Subclipse with the SVNKit library
Since version 0.9.33 [http://subclipse.tigris.org Subclipse] already comes with SVNKit embedded. All you need is to select SVNKit on the SVN preference page (in [http://www.eclipse.org Eclipse] Window menu -> Preferences -> Team). If using a version earlier than 0.9.33 you still need to perform the following steps with [http://www.eclipse.org Eclipse] Update Manager (tested with Eclipse 3.1M6, WinXP):
Add http://svnkit.com/ as an update site to [http://www.eclipse.org Eclipse] Update Manager.
- Use Help | Software Updates | Find and Install in main menu.
- Install "SVNKit Subclipse Extension" feature.