ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <trel...@gmail.com>
Subject Re: <delete> fails if inner fileset directory does not exist.
Date Mon, 24 Oct 2005 21:42:55 GMT
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 <phil.weighill-smith@volantis.com> 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:gudnabrsam@yahoo.com]
> 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" <A.Solofnenko@mdl.com>
> 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:
> > dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > dev-help@ant.apache.org
> >
> >
>
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>


--
Alexey N. Solofnenko trelony at gmail.com <http://gmail.com>
home: http://trelony.cjb.net/
Pleasant Hill, CA (GMT-8 hours usually)
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message