Ketan's Musings

Where he blogs about his eclipse musings

Archive for the ‘SVN’ tag

Are you still using subversion 1.4.x ?

without comments

Given git and mercurial the title should have been “Are you still using subversion?”; but anyway.

SVN 1.5 has been around for a while now, and provides a range of new features that help improve the overall experience and makes SVN suck less.

I’ve opened this bug to request that projects that want to migrate to svn 1.5 at eclipse.org have the option to do so. The existing SVN is running on a SVN 1.4.0. Please drop in your comments on this bug.

Written by Ketan

December 3rd, 2008 at 9:31 am

Posted in General

Tagged with ,

SVNAnt: Using ant with SVN

without comments

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>

Written by Ketan

March 13th, 2007 at 8:10 pm