Is there a way to get the machine name as ant property, for both Linux and Windows OS.
Copy the value for Unix into the Windows version. Then you can use ${env.COMPUTERNAME}.