ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43321] New: - Unzip clears modification timestamp of files
Date Thu, 06 Sep 2007 13:11:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43321

           Summary: Unzip clears modification timestamp of files
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: daniel.lindner@abas.de


When unzipping a file to an existing file structure, thus overwriting some
files, these files do not have a modification timestamp afterwards. This can be
observed in the windows file explorer by having empty cells for these files in
the "modified at" column.

The ant script snippet is fairly straightforward:
<unzip
    src="${patch.home}/modifications.zip"
    dest="${project.home}"
/>

It does not touch the created timestamp and does set the "last access" timestamp
to the correct unzip operation time.

The only thing strange is the empty modification date. If you look into "file
properties", you receive the equivalent to a 0-date: 
"Dienstag, 1. Januar 1980, 01:00:00"
(sorry, german windows)

If this is not a bug, but a feature i just happen to miss the advantages for,
just close the issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message