From 52fa955239c00ae00f03354a2c6145730325a5f2 Mon Sep 17 00:00:00 2001
From: Jaikiran Pai
Date: Thu, 18 Aug 2022 19:10:13 +0530
Subject: [PATCH] bz-66164 Don't change file permissions on unrelated files in
dest directory, when building and copying over Ant distribution
---
WHATSNEW | 6 ++++++
build.xml | 16 ----------------
manual/install.html | 1 +
3 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/WHATSNEW b/WHATSNEW
index c684322bd1..c0fe5ea7dd 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -33,6 +33,12 @@ Fixed bugs:
failed to download JAI.
Github Pull Request #191
+ * When building and installing Ant distribution from source, the build script
+ would change permissions on unrelated files in the destination directory.
+ This is now fixed and such unrelated files in the destination directory
+ will be left untouched.
+ Bugzilla Report 66164
+
Other changes:
--------------
diff --git a/build.xml b/build.xml
index 8d401aac7e..48378b0782 100644
--- a/build.xml
+++ b/build.xml
@@ -1057,14 +1057,6 @@
-
-
-
-
-
-
@@ -1158,14 +1150,6 @@
-
-
-
-
-
-
diff --git a/manual/install.html b/manual/install.html
index c959dbe9e1..1aef1c7093 100644
--- a/manual/install.html
+++ b/manual/install.html
@@ -697,6 +697,7 @@ Building Ant
Your are now ready to build Ant:
+ It is highly recommended that the directory path that you pass to dist.dir, in the following commands, points to an empty directory
build -Ddist.dir=<directory-to-contain-Ant-distribution> dist (Windows)
sh build.sh -Ddist.dir=<directory-to-contain-Ant-distribution> dist (Unix)