You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2004/02/02 15:04:03 UTC
cvs commit: ant/docs/manual/CoreTasks zip.html
bodewig 2004/02/02 06:04:03
Modified: docs/manual/CoreTasks zip.html
Log:
Clarify what update="false" in <zip> does.
PR: 26443
Revision Changes Path
1.22 +6 -5 ant/docs/manual/CoreTasks/zip.html
Index: zip.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/zip.html,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- zip.html 5 Aug 2003 16:13:02 -0000 1.21
+++ zip.html 2 Feb 2004 14:04:03 -0000 1.22
@@ -41,10 +41,11 @@
file already exists. When set to <code>yes</code>, the ZIP file is
updated with the files specified. (New files are added; old files are
replaced with the new versions.) When set to <code>no</code> (the
-default) the ZIP file is overwritten. Please note that ZIP files
-store file modification times with a granularity of two seconds. If a
-file is less than two seconds newer than the entry in the archive, Ant
-will not consider it newer.</p>
+default) the ZIP file is overwritten if any of the files that would be
+added to the archive are newer than the entries inside the archive.
+Please note that ZIP files store file modification times with a
+granularity of two seconds. If a file is less than two seconds newer
+than the entry in the archive, Ant will not consider it newer.</p>
<p>The <code>whenempty</code> parameter controls what happens when no files match.
If <code>skip</code> (the default), the ZIP is not created and a warning is issued.
@@ -240,7 +241,7 @@
<p>
<p>zips all files in the <code>htdocs/manual</code> directory into the <code>docs/user-guide</code> directory in the archive and includes all the files in any file that maches <code>examples*.zip</code>, such as all files within <code>examples1.zip</code> or <code>examples_for_brian.zip</code>.
<hr>
-<p align="center">Copyright © 2000-2003 Apache Software Foundation. All rights
+<p align="center">Copyright © 2000-2004 Apache Software Foundation. All rights
Reserved.</p>
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org