Archive for the ‘Programming’ 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 [...]

How to wrap your actionscript class/application and add it to flex application

Sometimes ago I started to learn actionscript 3 and the go was to code for the game nought and crosses with a simple AI. To save time I used Flex componnents to create button and other containers. I was running on problem to add my application to flex application. Flex refused to add my objects [...]

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 [...]