You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ajit Bhingarkar <ab...@tibco.com> on 2011/03/29 07:08:23 UTC

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