See the documentation for <property environment="env" />. --DD

-----Original Message-----
From: Pisharath Krishnan [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 23, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: how to check for UNIX environment variable

I am trying to do several tasks depending on whether a
particular environment variable is set (in UNIX). How
can I best do this in ant ? I was thinking of creating
my own task wherein I will set a project property
depending on the env variable, then check this
property before running the later tasks - but I
suspect there might be an easier way...

Any suggestions will be very helpful.

Thanks,
- krishnan

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to