I'm working from 2 print references and neither mentions that the present 
selector supports mappers.  Obviously you've got better information, do you 
mind sharing a link to it?  

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 09, 2005 3:44 PM
> To: Ant Users List; Brown, Carlton
> Subject: RE: Using mappers with delete task
> 
> On Wed, 9 Nov 2005 15:03:27 -0600, Brown, Carlton wrote:
> 
> You need to tell if you want us to narrate the docs:
> 
> The <present> tag supports the use of a contained <mapper> element to
> define
> the location of the file to be tested against. If no <mapper> element is
> specified, the identity type mapper is used.
> 
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, November 09, 2005 2:24 PM
> >> To: Ant Users List; Brown, Carlton
> >> Subject: Re: Using mappers with delete task
> >>
> >> On Wed, 9 Nov 2005 12:46:27 -0600, Brown, Carlton wrote:
> >>
> >> >To accomplish this, I tried using a mapper with the delete task, but
> >I
> >> >got an error saying the delete doesn't support the use of mappers.
> >> >Without a mapper, I can't see how this would be done.
> >>
> >> use delete with a fileset and a present selector.
> 
> >This allows the delete task to check existence of files in another
> >directory tree, but it does not allow to check existence of files with
> >different extensions (For example, given file /src/Script.foo delete
> >file /build/Script).   But thanks for the partial answer.
> 
> 
> 
> 
> Ciao, Jürgen
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to