Ramu Sethu wrote:
Hi all
I copy files from a m/c thro copy task. These jars and zip files will be
used in my class path for the next build (which run junit tests). All these
process are scheduled. But sometimes file copied gets corrupted or not
copied properly. All my tests in my next build fails. What I wanted is my
second build should be stopped when the files are corrupted. Is this
possible ?
The size of the jars are not constant.
1. use the <checksum> task to checksum a file before the copy, and to
compare it afterwards
2. if a copy is not working, something is seriously wrong. is it a copy
to a network drive? to some odd filesystem, or on top of libraries that
are in use at the time?
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]