ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin G. Crocker" <...@rsssolutions.com>
Subject Conditions
Date Wed, 04 Feb 2004 21:58:18 GMT
I want to fail a build if one directory OR another Directory is found.
 
I am using:
<condition property="build.failed">
      <and>
            <available file="${dirA}" type="dir"/>
                   <or>
                        <available file="${dirB}" type="dir"/>
                  </or>
      </and>
</condition>
 
but it does not work.  What is wrong with my syntax.
 
 Kevin Crocker
RSS Solutions Inc.
77 Wellington Street South,
Kitchener, ON.
N2G 2E6
Voice:      (519) 746-7200 x 228                            
                1-888-330-7314 x 228
Fax:         (519) 746-8727
Email:       kgc@rsssolutions.com
 
 

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message