Bug#764988: javahelper: please insert jh_installlibs after dh_link instead of before dh_compress

Andrew Ayer agwa at andrewayer.name
Sun Oct 12 20:14:49 UTC 2014


On Sun, 12 Oct 2014 21:59:44 +0200
Emmanuel Bourg <ebourg at apache.org> wrote:

> How does dh_strip_nondeterminism affect the jar files exactly? I
> understand that it normalizes the timestamps of the zip entries, but
> what date is used?

Hi Emmanuel,

dh_strip_nondeterminism does the following:

 * Sets the timestamp of every Zip entry to January 1, 1980 (the
   earliest date that can be represented in a Zip archive).

 * Lexicographically sorts the Zip entries by filename, while keeping
   META-INF/ and META-INF/MANIFEST.MF at the beginning.

 * Removes the timestamp comment from Javadoc-generated .html files
   in the Jar file.

-- Andrew



More information about the pkg-java-maintainers mailing list