ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <>
Subject Re: Loop over a set of files
Date Tue, 10 Oct 2006 15:27:09 GMT
An example loop over files:

<project default="test" xmlns:ac="antlib:net.sf.antcontrib">
  <macrodef name="processfile">
    <attribute name="file"/>
      <echo>Process @{file}</echo>

  <target name="test">
    <ac:for param="file">
      <fileset dir="." includes="**/*.xml"/>
        <processfile file="@{file}"/>


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

View raw message