From 80bf50a177d2ee4237c67147bede1d34ff492966 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Thu, 17 Apr 2003 13:09:19 +0000
Subject: [PATCH] Add destfile attribute to and .
PR: 11102
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274478 13f79535-47bb-0310-9956-ffa450edef68
---
build.xml | 8 ++++----
docs/manual/CoreTasks/pack.html | 14 +++++++++-----
docs/manual/CoreTasks/war.html | 3 +--
docs/manual/CoreTasks/zip.html | 3 +--
src/main/org/apache/tools/ant/taskdefs/Pack.java | 10 +++++++++-
5 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/build.xml b/build.xml
index ded67de20..2667bec41 100644
--- a/build.xml
+++ b/build.xml
@@ -1213,9 +1213,9 @@
-
-
@@ -1253,9 +1253,9 @@
-
-
diff --git a/docs/manual/CoreTasks/pack.html b/docs/manual/CoreTasks/pack.html
index 717aa0d0d..ab21952ab 100644
--- a/docs/manual/CoreTasks/pack.html
+++ b/docs/manual/CoreTasks/pack.html
@@ -24,21 +24,25 @@ file is newer.
the file to gzip/bzip. |
Yes |
+
+ destfile |
+ the destination file to create. |
+ Exactly one of the two. |
+
zipfile |
- the destination file. |
- Yes |
+ the deprecated old name of destfile. |
Examples
- <gzip src="test.tar" zipfile="test.tar.gz"/>
+ <gzip src="test.tar" destfile="test.tar.gz"/>
- <bzip2 src="test.tar" zipfile="test.tar.bz2"/>
+ <bzip2 src="test.tar" destfile="test.tar.bz2"/>
-Copyright © 2000-2002 Apache Software Foundation. All rights
+
Copyright © 2000-2003 Apache Software Foundation. All rights
Reserved.