ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z W" <mpc8...@gmail.com>
Subject condition question
Date Wed, 06 Feb 2008 18:59:58 GMT
Hi

Why is this condition failing/false when "confused" is 1 ? I just don't see
it.

<echo> confused ${confused} </echo>

<condition property="retest6" value="3" else="6">

<equals arg1="${confused}" arg2="1" />

</condition>

<echo> retest ${retest}</echo>



_recheck:
     [echo]  confused 1
     [echo]
Condition false; setting retest6 to 6
Setting project property: retest6 -> 6
Property "retest" has not been set
     [echo]  retest ${retest}
Property "retest" has not been set

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message