ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Mailhot <>
Subject Re: (resend) Differing JAR file sizes from same ant command
Date Mon, 19 Jul 2004 20:29:29 GMT
On lun, 2004-07-19 at 15:06 -0400, wrote:
> (I'm resending this from a different email account as the first email
> I sent from my mailblocks account seems to have vaporized....)
> For some reason, when I run ant to build one of our programs, 
> the resulting executable jar has a different size every time 
> I run the ant command. The size only differs by about 100 bytes, 
> and the program runs fine, but it is disconcerting that I can't 
> get exactly the same file each time I run the same build command. 
> Has anyone else seen this? This build command I use checks 
> out stuff from CVS, compiles it, and assembles the JAR using 
> a combination of jar, zip, and the "pack" task. 

The default manifest includes a date I thinks which means one can't
checksum jars and compare two consecutive runs (which is a PITA and I'll
have to check how to inhibit it sometime).

There may be other differences - but 100 bytes seems a bit much.


Nicolas Mailhot

View raw message