ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Schewe <jpsch...@mtu.net>
Subject Re: task to delete nonmatching files?
Date Sat, 20 Apr 2002 02:35:21 GMT
Diane Holt wrote:

> --- Jon Schewe <jpschewe@mtu.net> wrote:
> 
>>My build script currently has a task in it that copies files from one
>>directory to another changing the extension, using a file mapper. This
>>works great. Now the problem I have is that if I delete a file in the
>>source directory I'd like to have ant delete the file in the destination
>>directory the next time it builds, but only for files that are missing
>>[...]
>>Has someone already done this, or do I need to write my own task?
>>
> 
> Didn't write you a task, since it's faster for me to do it in Javascript
> (anything to avoid doin' the dishes :)
> 

Thanks.  What about if the files are in different trees?

-- 
Jon Schewe | http://mtu.net/~jpschewe | jpschewe@mtu.net
For I am convinced that neither death nor life, neither angels
nor demons, neither the present nor the future, nor any
powers, neither height nor depth, nor anything else in all
creation, will be able to separate us from the love of God that
is in Christ Jesus our Lord. - Romans 8:38-39


--
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