Login | Register
My pages Projects Community openCollabNet

SvnAnt

SvnAnt is an ant task that provides an interface to Subversion revision control system that is a compelling replacement for CVS in the open source community.

With the help of the underlying svnClientAdapter, <svn> task uses javahl - a native (JNI) java interface for the subversion api if it can find the corresponding library.
(See the subclipse FAQ for hints how to get it for your operating system).
Otherwise it uses the svn(.exe) command line interface (which must be present on your OS' path).

SvnAnt supports most of the major Subversion commands.

Documentation

Documentation for the <svn> task is in the /doc directory of the distribution package.

Or directly here.

SvnAnt 1.0.0 (bound against subversion 1.3.1) Release

There is a stable release 1.0.0.

SvnAnt 1.1.x (bound against subversion 1.4.0) Release

There is a development release 1.1.0-RC2.

SvnAnt 1.2.x (bound against subversion 1.5.x) Release

There is a release 1.2.1.

Known Issues

There are a few known issues with this release, but all of them have been traced to outside this project. Command line has no known issues. Here are the issues by client type.

JavaHL

Propset doesn't work on file properties. It will munge them.
e.g. <propset file=""/>

SvnKit



The svnConflicted selector selects all files, and so doesn't work. (issues is being tracked)
e.g.
<fileset dir="workingcopy">
<svnConflicted />
</fileset>

SvnAnt 1.3.x (bound against subversion 1.6.x) Release

There is a release 1.3.1.

Known Issues

There are a few known issues with this release, but all of them have been traced to outside this project. Command line has no known issues. Here are the issues by client type.

JavaHL

Propset doesn't work on file properties. It will munge them.
e.g. <propset file=""/>

Latest development

You can browse the latest source here.

Or check out the current development source from the repository using svn (username: guest passwd: none):

    svn co http://subclipse.tigris.org/svn/subclipse/trunk/svnant/ svnant

Or try the SvnAnt itself to get them:

    <svn username="guest" password="">
      <checkout url="http://subclipse.tigris.org/svn/subclipse/trunk/svnant/" revision="HEAD" destPath="svnant" />
    </svn>