ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Make copy task fail if any destination file already exists?
Date Mon, 26 Jan 2009 13:24:00 GMT
>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 ( 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.

This is not <copy>s job.
Try <available>.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message