Browse Source

Missing space between finished and timestamp in task/target finish message from ProfileLogger, bugrep 51109

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1096209 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 14 years ago
parent
commit
4491aae66b
5 changed files with 17 additions and 8 deletions
  1. +1
    -0
      CONTRIBUTORS
  2. +5
    -1
      WHATSNEW
  3. +4
    -0
      contributors.xml
  4. +5
    -5
      manual/listeners.html
  5. +2
    -2
      src/main/org/apache/tools/ant/listener/ProfileLogger.java

+ 1
- 0
CONTRIBUTORS View File

@@ -21,6 +21,7 @@ Anil K. Vijendran
Anli Shundi
Anthony Goubard
Anthony Green
Anthony Wat
Antoine Baudoux
Antoine Levy-Lambert
Anton Mazkovoi


+ 5
- 1
WHATSNEW View File

@@ -45,7 +45,11 @@ Fixed bugs:
Bugzilla Report 51035.

* Exec task may mix the stderr and stdout output while logging it
Bugzilla Report 50507.
Bugzilla Report 50507.
* Missing space between "finished" and timestamp in task/target
finish message from ProfileLogger.
Bugzilla Report 51109.

Other changes:
--------------


+ 4
- 0
contributors.xml View File

@@ -107,6 +107,10 @@
<first>Anthony</first>
<last>Green</last>
</name>
<name>
<first>Anthony</first>
<last>Wat</last>
</name>
<name>
<first>Antoine</first>
<last>Baudoux</last>


+ 5
- 5
manual/listeners.html View File

@@ -514,23 +514,23 @@ Target aTarget: started Thu Jan 22 09:01:00 CET 2009
echo: started Thu Jan 22 09:01:00 CET 2009
[echo] echo-task

echo: finishedThu Jan 22 09:01:00 CET 2009 (250ms)
echo: finished Thu Jan 22 09:01:00 CET 2009 (250ms)

zip: started Thu Jan 22 09:01:00 CET 2009
[zip] Building zip: ...\my.zip

zip: finishedThu Jan 22 09:01:01 CET 2009 (1313ms)
zip: finished Thu Jan 22 09:01:01 CET 2009 (1313ms)

Target aTarget: finishedThu Jan 22 09:01:01 CET 2009 (1719ms)
Target aTarget: finished Thu Jan 22 09:01:01 CET 2009 (1719ms)

Target anotherTarget: started Thu Jan 22 09:01:01 CET 2009

echo: started Thu Jan 22 09:01:01 CET 2009
[echo] another-echo-task

echo: finishedThu Jan 22 09:01:01 CET 2009 (0ms)
echo: finished Thu Jan 22 09:01:01 CET 2009 (0ms)

Target anotherTarget: finishedThu Jan 22 09:01:01 CET 2009 (0ms)
Target anotherTarget: finished Thu Jan 22 09:01:01 CET 2009 (0ms)

BUILD SUCCESSFUL
Total time: 2 seconds


+ 2
- 2
src/main/org/apache/tools/ant/listener/ProfileLogger.java View File

@@ -93,10 +93,10 @@ public class ProfileLogger extends DefaultLogger {
String msg = null;
if (start != null) {
long diff = now.getTime() - start.getTime();
msg = StringUtils.LINE_SEP + name + ": finished" + now + " ("
msg = StringUtils.LINE_SEP + name + ": finished " + now + " ("
+ diff + "ms)";
} else {
msg = StringUtils.LINE_SEP + name + ": finished" + now
msg = StringUtils.LINE_SEP + name + ": finished " + now
+ " (unknown duration, start not detected)";
}
printMessage(msg, out, event.getPriority());


Loading…
Cancel
Save