Skip to content

Instantly share code, notes, and snippets.

@65
Created March 10, 2012 09:44
Show Gist options
  • Save 65/2010995 to your computer and use it in GitHub Desktop.
Save 65/2010995 to your computer and use it in GitHub Desktop.
Exporting a SVN Working Copy with ANT
<!-- export current head revision -->
<echo message="exporting to ${buildDir}" />
<property name="buildDir" value="c:/export/${projectName}" />
<svn username="username" password="password">
<export srcUrl="http://localhost/svn/testrepository" destPath="${buildDir}" revision="HEAD" />
</svn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment