ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Excluding the root dir from a dirset
Date Fri, 07 Nov 2003 08:03:45 GMT
On Thu, 6 Nov 2003, Robert Priest <Robert.Priest@bentley.com> wrote:

> the following does not work for me:
> 
> <dirset dir="${NATIVE_SOURCE}PWFileTransfer/PWFileTransferRsrc/rc/">
>   <exclude name="rc" /> 
> </dirset>

Unless there is an ${NATIVE_SOURCE}PWFileTransfer/PWFileTransferRsrc/rc/rc 
(note the duplication of rc) the exclude wouldn't do anything.

Does

<dirset dir="${NATIVE_SOURCE}PWFileTransfer/PWFileTransferRsrc/rc/">
   <include name="*/**"/>
</dirset>

work?  Maybe with an additional include for "*".

Stefan

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


Mime
View raw message