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}"/>
    </length>
</condition>



Jan

>-----Ursprüngliche Nachricht-----
>Von: Shankar S [mailto:[EMAIL PROTECTED] 
>Gesendet: Mittwoch, 14. März 2007 01:59
>An: [email protected]
>Betreff: 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