ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <>
Subject Re: New copy like task
Date Fri, 14 Jun 2002 18:13:16 GMT
 --- Stefan Bodewig <> wrote: > On
Thu, 13 Jun 2002, Jose Alberto Fernandez
> It may be possible to write a custom selector and
> use plain copy for
> this.

Humm, I looked a little on the documentation and it
seem I could use the <present> selector to do this,
something like:

<copy todir='dest'>
 <fileset dir='dir1'>
   <include name='**'/>
 <fileset dir='dir2'>
   <include name='**'/>
    <present targetdir='dir1'/>
 <fileset dir='dir3'>
   <include name='**'/>
    <present targetdir='dir1'/>
    <present targetdir='dir2'/>

I will try as soon as I upgrade, thanks for the

Jose Alberto

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

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

View raw message