Bug 52647 - Date of the prefix directory in a zipfileset
Summary: Date of the prefix directory in a zipfileset
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.8.2
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2012-02-12 23:28 UTC by Emmanuel Bourg
Modified: 2012-02-12 23:28 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Bourg 2012-02-12 23:28:50 UTC
When a zipfileset has a prefix attribute, a directory entry is added to the archive. The issue is that the date of this entry is always the current date. That means that if the task is run on the same set of files, it will not produce the exact same archive.

I suggest that the prefix directory (and its parent directories) is created with the date of the most recent entry at the root of the fileset, or with the current date if the fileset is empty.