en.
>
> -Charlie
>
> -Original Message-
> From: Yves Dessertine [mailto:yvesd.pub...@gmail.com]
> Sent: Tuesday, January 27, 2009 9:38 AM
> To: Ant Users List
> Subject: Re: Make copy task fail if any destination file already exists?
>
> I'll explain a bit mo
les from sourceDir to targetDir,
but throwing an error if any file to be copied already exists in
targetDir
Here, I need the copy task to fail because subdir/foo1.bmp already
exists. It is possible to do such a thing w/ ant ?
Regards,
Yves Dessertine
2009/1/26 Yves Dessertine :
> Thank you for
Thank you for your answer. the task is interessting, but
it isn't what I need. What I need is to copy a directory with
subdirectories within another dir, with subdirs which might have the
same name (to merge the contents of both), but while triggering an
error if any file already exists in the tar
othing 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-