ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47373] Zip.java patch to support setting last modified date
Date Wed, 17 Jun 2009 23:27:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47373





--- Comment #5 from Mark Farnsworth <farnsworth2008@gmail.com>  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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message