Skip to content

Instantly share code, notes, and snippets.

@65
Created March 10, 2012 07:46
Show Gist options
  • Save 65/2010739 to your computer and use it in GitHub Desktop.
Save 65/2010739 to your computer and use it in GitHub Desktop.
How to get the SVN revision number for use in ANT
<target name="revisionnumber">
<!-- get the svn revision number -->
<svn>
<status path="application.cfm" revisionProperty="svn.revision" />
</svn>
<echo>
Sandbox Revision: ${svn.revision}
</echo>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment