ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Dessertine <yvesd.pub...@gmail.com>
Subject Fwd: Make copy task fail if any destination file already exists?
Date Mon, 26 Jan 2009 11:36:55 GMT
Hi there.

It is possible with Ant to make a copy task fail if any destination
file already exists?

I found no clue in the docs (noticed only the "failonerror" param in
copy task (http://ant.apache.org/manual/CoreTasks/copy.html) and in
the condition for the "fail" task, but nothing relevant IMHO).

I know it would be possible to check the existance of an entire
folder, but this isn't suitable for my project.

I'd appreciate any help.

Thanks,

Yves Dessertine

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message