How to get svn revision in ant using tortoise
This post is for you who are using Tortoise in windows environment and want to get the highest committed revision number when running an ant build script. This number can be useful when handling the version of the static files/contents. Here is a simple ant target <target name="get-revision"> <exec executable="subWCRev.exe"> <arg value="${srcBaseDir}"/> <arg value="${srcBaseDir}/revision.build"/> <arg [...]