ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 20153] zip/ unzip tasks - last modified dates off by an hour
Date Thu, 10 Jul 2008 12:35:33 GMT

Stefan Bodewig <> changed:

           What    |Removed                     |Added

--- Comment #11 from Stefan Bodewig <>  2008-07-10 05:35:32 PST ---

  <target name="zip">
    <mkdir dir="test"/>
    <touch file="test/test.txt"/>
    <zip destfile="" basedir="." includes="test/"/>
    <delete dir="test"/>
  <target name="unzip">
    <unzip src="" dest="."/>

on a German WinXP during daylight saving time with Ant 1.7.1 creates the exact
same timestamps inside the zip and when unzipped that the created files
originally had.    

If I add

    <touch file="test/winter.txt" datetime="03/01/2008 11:30 am"/>

Windows "compressed folder" shows the correct time, but unzip creates a file
time of 0:30 pm.  I'll need to investigate on a different OS as well.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message