ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Oltmans" <joltm...@bolosystems.com>
Subject RE: Checking for files in a directory
Date Wed, 14 Mar 2007 01:15:28 GMT
Have you tried something like the following?
<available>
  <path>
     <fileset dir="wherever">
       <include name="**/filename1"/>
       <include name="**/filename2"/>
        ...
     </fileset>
  </path>
</available>

-----Original Message-----
From: Shankar S [mailto:shanki@gmail.com] 
Sent: Tuesday, March 13, 2007 6:59 PM
To: user@ant.apache.org
Subject: Checking for files in a directory

Hi,

Is there a way in ANT where I could check if a list of files is
available/present in a directory instead of having a long list of
<available>s under <condition>?
Any help will be much appreciated.

-Shankar

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


Mime
View raw message