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: AW: copy all but exclude one directory
Date Wed, 09 Feb 2005 07:40:10 GMT
Thanks.

Is there a difference between these two sets:

         <include name="**/*" />
         <include name="**" />

-Doug

Jan.Materne@rzf.fin-nrw.de wrote:
> 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
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message