ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs FailTest.java
Date Tue, 09 Sep 2003 00:40:43 GMT
Antoine Levy-Lambert wrote:

> 
> 
>>  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

I guess it makes sense as if && unless; I dont know about targets.


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


Mime
View raw message