Sorry, was thinking of NAnt....
-----Original Message-----
From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 1:09 PM
To: Ant Users List
Subject: Re: How to test whether a particular environment variable is
set or not
The second <property> will not work, because the property is already set
earlier. You may want to execute them in reverse order.
- Alexey.
[EMAIL PROTECTED] wrote:
> This will trim down the previous post
>
> <property name="test.home" value="TO_BE_REPLACED"/>
> <if>
> <isset property="env.TEST_HOME"/>
> <then>
> <property name="test.home" value="${env.TEST_HOME}/>
> </then>
> </if>
>
>
--
------------------------------------------------------------------------
/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]