SVNAnt: Using ant with SVN
While working on some ant build scripts today. A lot of custom batch files that were being exec’ed from within ant builds; batch files that would perform svn updates, reverts and commits, among other svn actions.
A good alternative would be to use SVNAnt (some snippets follow):
<svn>
<delete>
<fileset dir="workingcopy/deleteTest">
<include name="**/*.del"/>
</fileset>
</delete>
<commit message="commit deleted files"
dir="workingcopy/deleteTest"/>
</svn>
<svn> <update dir="dir/to/update/" recurse="true" /> </svn>