ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin G. Crocker" <...@rsssolutions.com>
Subject RE: Conditions
Date Thu, 05 Feb 2004 14:46:52 GMT
Thanks for the help.  

-----Original Message-----
From: Antoine Lévy-Lambert [mailto:antoine@antbuild.com] 
Sent: Wednesday, February 04, 2004 5:01 PM
To: Ant Users List
Subject: Re: Conditions

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


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


Mime
View raw message