ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs FailTest.java
Date Sat, 06 Sep 2003 22:51:08 GMT

----- Original Message -----
From: <stevel@apache.org>
To: <ant-cvs@apache.org>
Sent: Saturday, September 06, 2003 9:02 AM
Subject: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs
FailTest.java


>   current behaviour is as follows:
>
>   if  unless  outcome
>
>   F     F     pass
>   T     F     fail
>   F     T     pass
>   T     T     pass
>
>   I am not sure this is what makes perfect sense, i'd expect if=F,
unless=F to also fail, but what we have, we have. Though since it aint
stated in the docs...
>
Hi Steve,

for me this makes sense. In other words, the fail task only happens if :

- the if condition holds true,

- the unless condition holds false

Is this table the same as for target execution ? Cheers,
Antoine



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


Mime
View raw message