ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Farrow" <marc.far...@gmail.com>
Subject Re: How do you check jar and zip are not corrupted
Date Wed, 20 Feb 2008 12:27:04 GMT
also depending on environment it might be better to FTP instead of COPY.

On Feb 20, 2008 7:24 AM, Steve Loughran <stevel@apache.org> wrote:

> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message