ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Bugzilla Issue 45902 (Up-to-date checks for JARs broken due to comparison of dir timestamps)
Date Wed, 28 Jan 2009 09:29:58 GMT
In
http://svn.eu.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java?r1=738330&r2=738329&pathrev=738330
<zip> has been changed to ignore directory resources and I'm afraid
this is going to cause some issues.

without reviewing the code just now (zip is a pretty convulted piece
of code and I take part of the blame) here are a few cases that may
fall through now:

* a single empty directory is added to the sources - I think Ant will
  now no longer create a new archive

* we are updating a zip or reading from another ArchiveFileSet and the
  directories have Unix permissions set that are different from the
  tasks-level permissions - I'm afraid we are going to lose the
  original permissions.

These two cases need to be tested (not sure when I'll get there) and
there may be more problems with this approach.

Stefan

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


Mime
View raw message