ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Checking for files in a directory
Date Wed, 14 Mar 2007 06:43:02 GMT
Just an idea ...

<property name="includes" value="these;files;must;be;present"/>
<property name="includes.length" value="5"/>
<property name="dir" value="dir"/>

<condition propery="all-files-present">
    <length length="${includes.length}">
        <fileset id="fs" dir="${dir}" includes="${includes}"/>


>-----Ursprüngliche Nachricht-----
>Von: Shankar S [] 
>Gesendet: Mittwoch, 14. März 2007 01:59
>Betreff: Checking for files in a directory
>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.

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

View raw message