I think it would be require something like the following: - flag in <fileset>; - lazy <fileset> initialization, so <delete> can set this flag; - <delete> should always set this flag on all provided filesets.
- Alexey. On 10/24/05, Phil Weighill-Smith <[EMAIL PROTECTED]> wrote: > > Which has always given me grief. It has always seemed sensible to me that > a fileset would simply evaluate to no files if the base directory for the > fileset doesn't exist (and perhaps generate a verbose log mentioning that > fact) in the same way it does when the pattern(s) doesn't match anything. > > Phil :n( > > -----Original Message----- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Mon 10/24/2005 21:15 > To: Ant Developers List > Cc: > Subject: Re: <delete> fails if inner fileset directory does not exist. > > > > Nothing ever works w/ filesets where the directory > does not exist... > > -Matt > > --- "Alexey N. Solofnenko" <[EMAIL PROTECTED]> > wrote: > > > This does not work: > > > > <project name="test" default="all" basedir="."> > > <target name="all"> > > <delete includeEmptyDirs="true" > > failonerror="false"> > > <fileset dir="aaa/bbb"/> > > </delete> > > </target> > > </project> > > > > > > - Alexey. > > -- > > > ------------------------------------------------------------------------ > > / Alexey N. Solofnenko > > home: http://trelony.cjb.net/ > > / > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- Alexey N. Solofnenko trelony at gmail.com <http://gmail.com> home: http://trelony.cjb.net/ Pleasant Hill, CA (GMT-8 hours usually)