ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burgess, Benjamin" <>
Subject RE: DirSet Top-Level Dirs Only
Date Fri, 08 Sep 2006 16:54:21 GMT
<dirset dir="${basedir}">
  <exclude name="${basedir}/*/**" />

Should be:

<dirset dir="${basedir}">
  <include name="*" />

Something like that at least.


-----Original Message-----
From: jason heddings [] 
Sent: Friday, September 08, 2006 12:53 PM
To: 'Ant Users List'
Subject: DirSet Top-Level Dirs Only

I'm trying to craft a dirset that contains only the topl-evel
directories of
the supplied path...  I took this approach:
<dirset dir="${basedir}">
  <exclude name="${basedir}/*/**" />
But that doesn't seem to quite work.  Effectively, I want to have all
first-level children of the ${basedir} directory only.  Ideally, not
${basedir} would be returned, but only the children.  I can filter that
out easilly, though.

This message, including any attachments, contains 'confidential' information intended for
a specific individual and purpose, and is protected by law.  If you are not the intended recipient,
please contact sender immediately by reply e-mail and destroy all copies.  You are hereby
notified that any disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message