Browse Source

pr: 41544 Replace task summary output incorrect

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@505532 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 18 years ago
parent
commit
006796ac5d
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      WHATSNEW
  2. +1
    -0
      src/main/org/apache/tools/ant/taskdefs/Replace.java

+ 3
- 0
WHATSNEW View File

@@ -6,6 +6,9 @@ Changes that could break older environments:

Fixed bugs:
-----------
* Replace task summary output incorrect.
Bugzilla report 41544

* Dependset crashes ant when timestamp on files change during Dependset
execution.
Bugzilla report 41284


+ 1
- 0
src/main/org/apache/tools/ant/taskdefs/Replace.java View File

@@ -625,6 +625,7 @@ public class Replace extends MatchingTask {

boolean changes = (replaceCount != repCountStart);
if (changes) {
fileCount++;
FILE_UTILS.rename(temp, src);
temp = null;
}


Loading…
Cancel
Save