From c1c1f4fcff7032808ed575c58ad56dd0821b05b7 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Fri, 26 Apr 2002 11:39:34 +0000
Subject: [PATCH] New dir attribute for
Submitted by: Thanou Thirakul
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272581 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 3 ++
docs/manual/CoreTasks/patch.html | 7 ++++-
.../org/apache/tools/ant/taskdefs/Patch.java | 28 +++++++++++++++++--
3 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/WHATSNEW b/WHATSNEW
index 166269275..82fb20035 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -342,6 +342,9 @@ Other changes:
For more details see docs/manual/inputhandler.html.
+* has a new attribute that selects the directory in which to
+ run the command.
+
Changes from Ant 1.4 to Ant 1.4.1
===========================================
diff --git a/docs/manual/CoreTasks/patch.html b/docs/manual/CoreTasks/patch.html
index 30621d0b4..12083a6b9 100644
--- a/docs/manual/CoreTasks/patch.html
+++ b/docs/manual/CoreTasks/patch.html
@@ -55,6 +55,11 @@
slashes from filenames.
No |
+
+ dir |
+ The directory in which to run the patch command. |
+ No, default is the project's basedir. |
+
Examples
<patch patchfile="module.1.0-1.1.patch"/>
@@ -69,7 +74,7 @@ the diff output looked like
the leading a/ will be stripped.
-Copyright © 2001 Apache Software Foundation. All rights
+
Copyright © 2001-2002 Apache Software Foundation. All rights
Reserved.