ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: Delete problem with temp files
Date Tue, 14 Nov 2000 00:12:27 GMT
Huw,

The excludes elements are additive. You are adding to the set of things to
be excluded. excludes="" adds nothing to the set. It doesn't reset the
current excludes and that includes those added by default.

Conor


--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Puzzle [mailto:puzzle@puzzlepalace.com]
> Sent: Tuesday, 14 November 2000 10:59
> To: ant-user@jakarta.apache.org
> Subject: RE: Delete problem with temp files
>
>
> Errm....
>
> Found it - needed to put defaultexcludes=no in the fileset.
>
> Question: why does excludes="" not override this I would have
> thought it did
> ?
>
>
> Huw
>
> > -----Original Message-----
> > From: Puzzle [mailto:puzzle@puzzlepalace.com]
> > Sent: 13 November 2000 23:50
> > To: Ant-User@Jakarta. Apache. Org
> > Subject: Delete problem with temp files
> >
> >
> > Hi - anyone able to help please . . .
> >
> > Ok, I know this is probably going to sound daft but,
> >
> > I am trying to get a clean target to work. It is supposed to delete all
> > emacs backup files from the source tree (under win NT) Ant 1.3
> > alpha Nov 07.
> >
> > I have a patternset set to "**/*~" and a delete task that has a fileset
> > dir="${src}" and the just mentioned patternset being referenced.
> >
> >
> > If I set the patterset to say **/*.bak" it works but for "**/*#"
> > and "**/*~"
> > the delete does nothing and does not error either.
> >
> > Any ideas what I am doing wrong ?
> >
> >
> > Huw
>
>


Mime
View raw message