ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: How to test whether a particular environment variable is set or not
Date Tue, 09 Aug 2005 17:09:01 GMT
The second <property> will not work, because the property is already set 
earlier. You may want to execute them in reverse order.

- Alexey.

Blagassie@loftware.com 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message