ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r505532 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/Replace.java
Date Fri, 09 Feb 2007 22:17:48 GMT
Author: jkf
Date: Fri Feb  9 14:17:47 2007
New Revision: 505532

URL: http://svn.apache.org/viewvc?view=rev&rev=505532
Log:
pr: 41544 Replace task summary output incorrect

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?view=diff&rev=505532&r1=505531&r2=505532
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Fri Feb  9 14:17:47 2007
@@ -6,6 +6,9 @@
 
 Fixed bugs:
 -----------
+* Replace task summary output incorrect.
+  Bugzilla report 41544
+
 * Dependset crashes ant when timestamp on files change during Dependset
   execution.
   Bugzilla report 41284

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java?view=diff&rev=505532&r1=505531&r2=505532
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Replace.java Fri Feb  9 14:17:47
2007
@@ -625,6 +625,7 @@
 
             boolean changes = (replaceCount != repCountStart);
             if (changes) {
+                fileCount++;
                 FILE_UTILS.rename(temp, src);
                 temp = null;
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message