ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: copy all but exclude one directory
Date Wed, 09 Feb 2005 06:48:08 GMT
BACKUP is a file
BACKUP/ or BACKUP/** is a directory

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Douglas Kramer [mailto:Douglas.Kramer@Sun.COM]
> 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:Douglas.Kramer@Sun.COM]
> >>               <exclude name="BACKUP" />
> > 
> > Use              <exclude name="BACKUP/**" />
> > 
> > --DD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message