ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: How do I check NT env. variable value and run the target base d on that value?
Date Wed, 08 May 2002 18:56:22 GMT
See <property environment="env" /> and <target if/unless="" />. This is also
explained by Diane Holt in a post titled 'Re: if/else structure' 1 hour 36
minutes after your own post. --DD

-----Original Message-----
From: Srinivas_Pasuparthi@i2.com [mailto:Srinivas_Pasuparthi@i2.com] 
Sent: Wednesday, May 08, 2002 12:04 PM
To: ant-user@jakarta.apache.org
Subject: How do I check NT env. variable value and run the target based on
that value?

Hi,

I would like to check the value of an environment variable defined in 
Windows and based on that value, I should be able to either run/not run a 
target.  How can I do it in Ant 1.4.1??  I appreciate your help in 
advance.

Thanks,
Sri.

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message