ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Doing something only if <copy> copied nothing.
Date Tue, 25 Feb 2003 14:25:56 GMT
ROSSEL Olivier wrote:
> I have a <copy> task.
> I want to excute a specific <delete> task only if the <copy> task
> did not overwirte anything.
> 

Not directly, but you might be able to use <uptodate> prior to the copy to 
set a property indicating that copy *will* modify something.

I haven't tried it, so YMMV ...

Conor


Mime
View raw message