From 32b3d6458b1f73d6b7a6d09535f522cb2cead65d Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Mon, 22 Nov 2004 22:53:50 +0000 Subject: [PATCH] Added warnings regarding duplicate files to and family. PR: 30339 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277071 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/ear.html | 6 ++++++ docs/manual/CoreTasks/jar.html | 6 ++++++ docs/manual/CoreTasks/war.html | 6 ++++++ docs/manual/CoreTasks/zip.html | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/docs/manual/CoreTasks/ear.html b/docs/manual/CoreTasks/ear.html index 787f24a8d..16277ef30 100644 --- a/docs/manual/CoreTasks/ear.html +++ b/docs/manual/CoreTasks/ear.html @@ -16,6 +16,12 @@ The same thing can be accomplished by using the prefix and fullpath

The extended zipfileset element from the zip task (with attributes prefix, fullpath, and src) is available in the Ear task.

+

Please note that the zip format allows multiple files of the same +fully-qualified name to exist within a single archive. This has been +documented as causing various problems for unsuspecting users. If you wish +to avoid this behavior you must set the duplicate attribute +to a value other than its default, "add".

+

Parameters

diff --git a/docs/manual/CoreTasks/jar.html b/docs/manual/CoreTasks/jar.html index 1ba0fc944..ca7aa873d 100644 --- a/docs/manual/CoreTasks/jar.html +++ b/docs/manual/CoreTasks/jar.html @@ -54,6 +54,12 @@ Note in particular that this may result in manifest lines greater than 72 bytes being wrapped and continued on the next line.

+

Please note that the zip format allows multiple files of the same +fully-qualified name to exist within a single archive. This has been +documented as causing various problems for unsuspecting users. If you wish +to avoid this behavior you must set the duplicate attribute +to a value other than its default, "add".

+

Parameters

diff --git a/docs/manual/CoreTasks/war.html b/docs/manual/CoreTasks/war.html index 78fdffc16..9bd84e3db 100644 --- a/docs/manual/CoreTasks/war.html +++ b/docs/manual/CoreTasks/war.html @@ -18,6 +18,12 @@ The same thing can be accomplished by using the prefix and fullpath

The extended zipfileset element from the zip task (with attributes prefix, fullpath, and src) is available in the War task.

+

Please note that the zip format allows multiple files of the same +fully-qualified name to exist within a single archive. This has been +documented as causing various problems for unsuspecting users. If you wish +to avoid this behavior you must set the duplicate attribute +to a value other than its default, "add".

+

Parameters

diff --git a/docs/manual/CoreTasks/zip.html b/docs/manual/CoreTasks/zip.html index 8652fa161..bfeb60a1b 100644 --- a/docs/manual/CoreTasks/zip.html +++ b/docs/manual/CoreTasks/zip.html @@ -67,6 +67,12 @@ Ant uses the algorithm used by Info-Zip's implementation of the zip and unzip commands - these are the default versions of zip and unzip for many Unix and Unix-like systems.

+

Please note that the zip format allows multiple files of the same +fully-qualified name to exist within a single archive. This has been +documented as causing various problems for unsuspecting users. If you wish +to avoid this behavior you must set the duplicate attribute +to a value other than its default, "add".

+

Parameters