You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by jason heddings <ja...@heddway.com> on 2006/09/08 18:53:07 UTC
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}/*/**" />
</dirset>
But that doesn't seem to quite work. Effectively, I want to have all the
first-level children of the ${basedir} directory only. Ideally, not even
${basedir} would be returned, but only the children. I can filter that out
out easilly, though.
Thanks,
--jah