ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tara Hernandez <t...@bluemartini.com>
Subject Re: Deleting filesets with directories
Date Mon, 05 Aug 2002 21:16:26 GMT
Duh.  I *knew* it was something dumb.

Thanks for the clue.

:)

-Tara

Judy Pearson wrote:

> The defaultexcludes needs to be part of the fileset specification.
>
>     <delete includeemptydirs="true" verbose="true">
>       <fileset dir="config" includes="**/CVS/" defaultexcludes="no" />
>     </delete>
>
> works for me while what you're using doesn't.
>
> This works too, but the implicit fileset specification is deprecated:
>  Deprecated!   <delete dir="config" includes="**/CVS/" defaultexcludes="no"
>  Deprecated!       includeemptydirs="true" verbose="true" >
>  Deprecated!   </delete>
>
> - Judy
>
> > -----Original Message-----
> > From:
> > ant-user-return-23568-judy.pearson=conducivetech.com@jakarta.apache.org
> > [mailto:ant-user-return-23568-judy.pearson=conducivetech.com@jakarta.apa
> > che.org]On Behalf Of Tara Hernandez
> > Sent: Monday, August 05, 2002 1:33 PM
> > To: Ant Users List
> > Subject: Re: Deleting filesets with directories
> >
> >
> > On that note, I'm trying to delete all the CVS subdirs from a directory
> > structure.  My task looks like:
> >
> >         <delete defaultexcludes="no" includeemptydirs="true" verbose="true">
> >                 <fileset dir="config" includes="**/CVS/"/>
> >         </delete>
> >
> >
> > but it's not doing anything useful at all.  I have this sinking suspician that
> > the problem is staring me in the face and I'm just being blind.
> >
> > Any thoughts?
> >
> > Dominique Devienne wrote:
> >
> > >
> > > <delete includeEmptyDirs="true">
> > >    <fileset dir="topdir" includes="**/tmpdir/"/>
> > > </delete>
> > >
> > > This last one did what I wanted, which was to delete the tmpdirs and all
> > > their contents from each of dirA, dirB and dirC.
> > >
> >
> > --
> > "I was gratified to be able to answer promptly, and I did.  I said I didn't
> > know"
> >
> >         -Mark Twain
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
"I was gratified to be able to answer promptly, and I did.  I said I didn't know"

        -Mark Twain



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message