ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar <armaill...@free.fr>
Subject Executing a task for a list of files
Date Fri, 03 Feb 2006 18:34:11 GMT

Hi all,

I have a directory with a list of properties files. I'd like to execute an  
ant target for each of these files :


    file1.properties
    file2.properties
    file3.properties

I want to do an AntCall for *.properties files

    <antcall target="myTarget">
       <param name="param1" value="file1.properties"/>
    </antcall>
    <antcall target="myTarget">
       <param name="param1" value="file2.properties"/>
    </antcall>
    <antcall target="myTarget">
       <param name="param1" value="file3.properties"/>
    </antcall>

I don't know nor the exact name of the properties files neither their  
number. I want to process all the properties files of the current  
directory.
Is this possible and how ?

Regards
A. ROY

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


Mime
View raw message