ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ot...@ivillage.com
Subject how to reduce the number of filesets in copy task
Date Tue, 02 Oct 2001 13:03:35 GMT
Hello,

I was wondering if the following can be simplified.
Can all these fileset tasks can be merged into one while still achieving the same effect?
I thought maybe someone on the list may know...

    <target name="compile" depends="init">

        <!-- Copy all the sources to the $build.src directory -->
        <copy todir="${build.src}" preservelastmodified="yes">
            <fileset dir="${src.dir}/ApacheJServ"
             includes="**/*.java"/>
            <fileset dir="${src.dir}/HTTPClient"
             includes="**/*.java"/>
            <fileset dir="${src.dir}/dnsjava"
             includes="**/*.java"/>
            <fileset dir="${src.dir}/ecs/src/java"
             includes="**/*.java"/>
        </copy>

Thank you,
Otis


_________________________________________________________________
iVillage.com: Solutions for Your Life 
Check out the most exciting women's community on the Web   
http://www.ivillage.com

Mime
View raw message