OK let me put it this way .. intead of having 50 <include name="blahblah" >
for 50 files which makes my build file look ugly .. I want something like
define the list of files in a property file and check something like
<available> <filepath dir="blahblah"> check if the directory contains all
the files

-Shankar


On 3/14/07, James Oltmans <[EMAIL PROTECTED]> wrote:

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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to