Upgrading to 1.7.1 fixed this.
________________________________ From: Ajit Bhingarkar Sent: 29 March 2011 10:38 To: user@ant.apache.org Subject: env not getting resolved Hi, I recently moved to Win7 64 bit machine with 64 bit JDK 1.6 b24. While building using ant same script which worked fine on Win XP and 32 bit JDK, now doesn't work as several enviroment variables do not get resolved through env. E.g. ${env.MQ_HOME} or ${env.JAVA_HOME}. I have tried setting them through Control Panel->System settings as well as through a batch file. Windows command console shows correct values. I am using Ant 1.5.4. Can anyone pls help? Thanks, Ajit