Or you can consolidate the include when it's that simple: <dirset dir="${basedir}" includes="*" />
-Matt --- jason heddings <[EMAIL PROTECTED]> wrote: > Perfect... Thanks. (And so simple!) > > > -----Original Message----- > From: Burgess, Benjamin > [mailto:[EMAIL PROTECTED] > Sent: Friday, 08 September, 2006 10:54 > To: Ant Users List > Subject: RE: DirSet Top-Level Dirs Only > > <dirset dir="${basedir}"> > <exclude name="${basedir}/*/**" /> > </dirset> > > Should be: > > <dirset dir="${basedir}"> > <include name="*" /> > </dirset> > > Something like that at least. > > Ben > > -----Original Message----- > From: jason heddings [mailto:[EMAIL PROTECTED] > 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}/*/**" /> > </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 > > > ************************************************************** > 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. > TIAA-CREF > ************************************************************** > > > --------------------------------------------------------------------- > 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] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]