ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47373] patch to support setting last modified date
Date Wed, 17 Jun 2009 23:27:07 GMT

--- Comment #5 from Mark Farnsworth <>  2009-06-17 16:27:05
PST ---
Touch will work with zip task but it is not as clean a way of controlling the
content of the archive.  Also the jar, war, and ear tasks all share the problem
and in those tasks their is code that pulls the system current time as it
creates manifest.  My patch to zip is clean in that it fixes the problem for
all types of archives and does not involve changing the time stamps.  

I am not 100% sure about the effect touch technique would have on javac but my
gut tells me that it would wreak havic and cause problems the next time the
build runs since the compiler would have trouble deciding if it should
re-compile the .class files from the .java files.  (actually I am fairly sure
that would happen).  The result would be slow builds and would defeat much of
the value of ANT.

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

View raw message