source: greenstone3/trunk/svnant/readme.txt@ 14166

Last change on this file since 14166 was 14166, checked in by oranfry, 17 years ago

added the svnant library files

File size: 1.6 KB
Line 
1SvnAnt
2======
3You can find latest version of svnant on http://subclipse.tigris.org
4
5Installation
6============
7Put the svnant.jar and svnClientAdapter.jar files to classpath of your ant build file.
8(Or directly to your ANT_HOME/lib directory.)
9If you plan to use JavaHL instead of commandline, put the svnjavahl.jar to the classpath too.
10(An of course put the appropriate native OS library on your PATH/LD_PATH too)
11
12In the build file, load the <svn> task.
13E.g. like this:
14 <taskdef resource="svntask.properties" classpathref="project.classpath"/>
15(where svnant.jar lies in the "project.classpath")
16
17To provide access to the Subversion API, svnant uses svnClientAdapter on top of
18either the JavaHL native Subversion Java (JNI) bindings or Subverion's
19command line programs (which must be installed and in your PATH).
20See the subclipse's FAQ <http://subclipse.tigris.org/faq.html#get-javahl">
21for info how to get JavaHL for your operating system.
22
23Documentation
24=============
25Documentation of the <svn> task is in the /doc directory.
26
27Play around
28===========
29To access the sources, just type "ant" in the directory containing the
30build.xml bundled with the distribution. The default target will
31retrieve the sources corresponding to the version you have. If you
32want to get the latest sources, type "ant checkoutLatest".
33
34Once you have the sources, svnant unit tests can be invoked using the
35top level build.xml by typing "ant runTests". These tests provide a
36great set of examples of how to use svnant's Ant tasks and data types.
37
38Please send any usage questions to <mailto:[email protected]>.
Note: See TracBrowser for help on using the repository browser.