BACKUP is a file
BACKUP/ or BACKUP/** is a directory

Jan

> -----Urspr�ngliche Nachricht-----
> Von: Douglas Kramer [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 8. Februar 2005 22:37
> An: Dominique Devienne
> Cc: Ant Users List
> Betreff: Re: copy all but exclude one directory
> 
> Thanks, that works.
> 
> I'll submit a request to document that <exclude> works
> to exclude only the specified files or directories -- that is,
> it must name all the files to exclude, not just a top-level
> directory.
> 
> BTW, what's the reason that these are not equivalent:
> 
>         <include name="**/*" />
> 
> 
>         <include name="**" />
> 
> 
> -Doug
> 
> (It looks like including files below BACKUP is stronger
> than excluding the top-level directory BACKUP)
> 
> Dominique Devienne wrote:
> >>From: Douglas Kramer [mailto:[EMAIL PROTECTED]
> >>               <exclude name="BACKUP" />
> > 
> > Use              <exclude name="BACKUP/**" />
> > 
> > --DD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to