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:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 3:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Excluding the root dir from a dirset


On Thu, 6 Nov 2003, Robert Priest <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to