ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiarna Boyd" <>
Subject AW: foreach directory copy question
Date Fri, 14 Mar 2003 16:01:32 GMT

Thank you very much Jan. I appreciate your help!

You suggested I try something like:

<foreach target="newversion" param="thisEnv">
        <dirset dir="theDirectoryWhereYouWantToDoThe_ls_" />

In order to have the foreach get a new directory each time what would I have 
to do?
I thought I would have to build the foreach to reference a text list.

<foreach list="${dev.env}">


  <target name="newversion">
        <echo message="environment: ${thisEnv}"/>
        <copy todir="${builddir}/${thisEnv}">
            <fileset dir="${masterdir}"/>

Thanks again!


The new MSN 8: smart spam protection and 2 months FREE*

View raw message