Posts Tagged ‘Windows’

How to set default OS in boot.ini

This is a boot setup for Microsoft Windows XP Professional and Ubuntu (wubi) where we have Windows XP as default and will be preselected on start of computer. This content can be found in c:\boot.ini (be aware this is a hidden system file). [boot loader] timeout=15 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS   [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect [...]

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