|
|
@@ -90,6 +90,22 @@ documented as causing various problems for unsuspecting users. If you wish |
|
|
|
to avoid this behavior you must set the <code>duplicate</code> attribute |
|
|
|
to a value other than its default, <code>"add"</code>.</b></p> |
|
|
|
|
|
|
|
<p><b>Please also note</b> that different ZIP tools handle timestamps |
|
|
|
differently when it comes to applying timezone offset calculations of |
|
|
|
files. Some ZIP libraries will store the timestamps as they've been |
|
|
|
read from the filesystem while others will modify the timestamps both |
|
|
|
when reading and writing the files to make all timestamps use the same |
|
|
|
timezone. A ZIP archive created by one library may extract files with |
|
|
|
"wrong timestamps" when extracted by another library.</p> |
|
|
|
|
|
|
|
<p>Ant's ZIP classes use the same algorithm as the InfoZIP tools and |
|
|
|
zlib (timestamps get adjusted), Windows' "compressed folders" function |
|
|
|
and WinZIP don't change the timestamps. This means that using the |
|
|
|
unzip task on files created by Windows' compressed folders function |
|
|
|
may create files with timestamps that are "wrong", the same is true if |
|
|
|
you use Windows' functions to extract an Ant generated ZIP |
|
|
|
archive.</p> |
|
|
|
|
|
|
|
<h3>Parameters</h3> |
|
|
|
<table border="1" cellpadding="2" cellspacing="0"> |
|
|
|
<tr> |
|
|
|