ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Kramer <Douglas.Kra...@Sun.COM>
Subject Re: copy all but exclude one directory
Date Tue, 08 Feb 2005 21:37:13 GMT
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
View raw message