ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: multiple file check
Date Thu, 06 Feb 2003 19:08:31 GMT
Behold the power of selectors ;-) --DD

-----Original Message-----
From: Dan Gardner [] 
Sent: Thursday, February 06, 2003 12:58 PM
To: 'Ant Users List'
Subject: RE: multiple file check

Thanks this is working a treat;

>>Martin, I suspect your option would work as well, but its nice to keep it
purely in ANT until I *have* to get more complex :).

  <target name="look.for.conflict">        
    <fileset dir="${conflict.dir}" includes="**/*.*" id="conflict.files" >
      <present targetdir="${patch.dir}/${cvspackage}/${}"/>
    <pathconvert property="conflict.files" refid="conflict.files" />
    <echo message="conflict.files:${conflict.files}" level="info"/>
    <condition property="conflict.files.exist">
        <equals arg1="${conflict.files}" arg2=""/>
Dan Gardner        Emap IT - UK

View raw message