You could use the <available> task to determine whether or not the file 
already exists.
 http://ant.apache.org/manual/CoreTasks/available.html

-Andrew
 On 9/8/05, Jason Novotny <[EMAIL PROTECTED]> wrote: 
> 
> 
> Hi,
> 
> I want to copy a file from source to dest ONLY if the dest file does
> not exist. It seems the overwrite attribute is not quite appropriate in
> this case since it's possible for the source file to be newer. But even
> if it is newer I don't want it being copied over as long as the dest
> file is present.
> 
> Thanks, Jason
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to