Archive for the ‘Ant’ Category

How to get svn revision in ant using svn or svnversion

This article is aimed to you whom use svn in linux environment. If you are using windows and Tortoise this post may be more interesting.
Here are two ways to get revision number when you build your project. The first one is a complete method to get this number and the second one will give you [...]

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}"/>
[...]