ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Hermann" ...@web.de>
Subject RE: Using mappers with delete task
Date Wed, 09 Nov 2005 20:43:34 GMT
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: jh@web.de [mailto:jh@web.de]
>> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message