Re: Reproducible JARs

2017-08-27 Thread Stefan Bodewig
On 2017-08-23, George Bateman wrote: > Stefan wrote: >> The manifest may contain the current time stamp, to make things worse >> for you :-) > Fortunately, I don't see anywhere in Jar.java that mentions time or date, > except passing it to Zip#zipFile() as the modification time, and I override >

Re: Reproducible JARs

2017-08-23 Thread George Bateman
Hi Gintas and Stefan, and List, Thanks very much for your emails. Sorry for the slight delay in replying! On 25 July 2017 at 07:39, Gintautas Grigelionis wrote: > I believe the easier way would be to diff the fileset of classes to be > packed to the fileset of classes

Re: Reproducible JARs

2017-07-25 Thread Gintautas Grigelionis
t way of doing this that I've missed, > > could you advise me on how I'd go about writing a patch for Ant that > > makes reproducible JARs easier? I'd been thinking of adding a > > "modificationtime" attribute to the jar and zip tasks, and giving that > > time to all the

Re: Reproducible JARs

2017-07-23 Thread Stefan Bodewig
hus JAR) creation uses zlib under the covers and different versions may result in different deflated output. > Unless there's some efficient way of doing this that I've missed, > could you advise me on how I'd go about writing a patch for Ant that > makes reproducible JARs

Reproducible JARs

2017-07-22 Thread George Bateman
ipping it. (Even if you were to touch the .class files in advance, there's MANIFEST.MF, which is created by Ant and which you have to unzip to access.) Unless there's some efficient way of doing this that I've missed, could you advise me on how I'd go about writing a patch for Ant that makes reprod