ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: how to reduce the number of filesets in copy task
Date Tue, 02 Oct 2001 14:47:38 GMT
--- otisg@ivillage.com wrote:
> 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?
> 
>         <!-- 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>

<fileset dir="${src.dir}">
  <include name="ApacheJServ/**/*.java"/>
  <include name="HTTPClient/**/*.java"/>
  <include name="dnsjava/**/*.java"/>
  <include name="ecs/src/java/**/*.java"/>
</fileset>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

Mime
View raw message