ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: condition question
Date Thu, 07 Feb 2008 09:24:02 GMT
Z W wrote:
> Charbel
> thanks for the response.
> I still get the same problem with that small change.
> 
> 
> <echo> confused ${confused} </echo>
> 
> <condition property="retest6" value="3" else="6">
> 
> <equals arg1="${confused}" arg2="5" />
> 
> </condition>
> 
> <echo> retest ${retest6}</echo>
> 
> 
> _recheck:
>      [echo]  confused 5
>      [echo]
> Condition false; setting retest6 to 6
> Setting project property: retest6 -> 6
>      [echo]  retest 6
> Property "retest" has not been set


Go <echo> confused [${confused}] </echo>

I think there is whitespace in the property

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message