ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Conditions
Date Wed, 04 Feb 2004 22:07:14 GMT
Try this: --DD

<condition property="build.failed">
    <available file="${dirA}" type="dir" />
    <available file="${dirB}" type="dir" />

-----Original Message-----
From: Kevin G. Crocker [] 

I want to fail a build if one directory OR another Directory is found.

I am using:
<condition property="build.failed">
    		<available file="${dirA}" type="dir"/>
    			 	<available file="${dirB}" type="dir"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message