ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject Re: Conditions
Date Wed, 04 Feb 2004 22:00:59 GMT
Kevin G. Crocker wrote:

> I want to fail a build if one directory OR another Directory is found.
>
>  
>
> I am using:
>
> <condition property="build.failed">
>
>
>            
>
>                    <or>
>
>            <available file="${dirA}" type="dir"/>
>

>              <available file="${dirB}" type="dir"/>
>
>                   </or>
>
>
> </condition>
>
>  
>
Voila !

Antoine


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


Mime
View raw message