Skip to content

Instantly share code, notes, and snippets.

@mimshwright
Created November 14, 2009 00:52
Show Gist options
  • Save mimshwright/234312 to your computer and use it in GitHub Desktop.
Save mimshwright/234312 to your computer and use it in GitHub Desktop.
svn task sample
<!-- path to the svnant libraries. -->
<path id="svnant.classpath">
<fileset dir="${project.libraryPath}/ant/svnant">
<include name="*.jar"/>
</fileset>
</path>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" />
<!-- Update to the latest version of the source -->
<target name="svnUpdate">
<echo>Updating to the latest version from SVN</echo>
<svn><update dir="." /></svn>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment