[ https://issues.apache.org/jira/browse/CASSANDRA-20495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939274#comment-17939274 ]
Stefan Miklosovic commented on CASSANDRA-20495: ----------------------------------------------- It is possible to produce a JAR with same internal timestamps Zip uses when adding modificationtime="0" to jar task. <jar jarfile="${build.dir}/${final.name}.jar" keepcompression="true" modificationtime="0"> The [^jar-modification-time-zero.html] is closest to the same JAR. Now it just differs on CRC in zip but that is most probably because Java's Properties are still adding unique timestamp on top of version.properties. We would need to construct this file differently. The timestamp addition is hard-coded in JDK sources. > Investigate what blocks us from having bit-by-bit reproducible builds / > release tarballs > ---------------------------------------------------------------------------------------- > > Key: CASSANDRA-20495 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20495 > Project: Apache Cassandra > Issue Type: Task > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Attachments: diffoscope-cassandra-bin-tarball.html, > diffoscope-cassandra-src-tarball.html, jar-modification-time-zero.html, > same-file-sizes-inside-bin-tarball.html, > working-zip-details-same-build-date.html > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org