ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <Robert.Pri...@bentley.com>
Subject RE: Excluding the root dir from a dirset
Date Fri, 07 Nov 2003 13:50:59 GMT
Thanks Stefan!

That seems to work perfectly fine.

Now I can remove my "if dirname is rc, do nothing" statement.

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Friday, November 07, 2003 3:04 AM
To: user@ant.apache.org
Subject: Re: Excluding the root dir from a dirset


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

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


Mime
View raw message