git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1096209 13f79535-47bb-0310-9956-ffa450edef68master
@@ -21,6 +21,7 @@ Anil K. Vijendran | |||||
Anli Shundi | Anli Shundi | ||||
Anthony Goubard | Anthony Goubard | ||||
Anthony Green | Anthony Green | ||||
Anthony Wat | |||||
Antoine Baudoux | Antoine Baudoux | ||||
Antoine Levy-Lambert | Antoine Levy-Lambert | ||||
Anton Mazkovoi | Anton Mazkovoi | ||||
@@ -45,7 +45,11 @@ Fixed bugs: | |||||
Bugzilla Report 51035. | Bugzilla Report 51035. | ||||
* Exec task may mix the stderr and stdout output while logging it | * 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: | Other changes: | ||||
-------------- | -------------- | ||||
@@ -107,6 +107,10 @@ | |||||
<first>Anthony</first> | <first>Anthony</first> | ||||
<last>Green</last> | <last>Green</last> | ||||
</name> | </name> | ||||
<name> | |||||
<first>Anthony</first> | |||||
<last>Wat</last> | |||||
</name> | |||||
<name> | <name> | ||||
<first>Antoine</first> | <first>Antoine</first> | ||||
<last>Baudoux</last> | <last>Baudoux</last> | ||||
@@ -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: started Thu Jan 22 09:01:00 CET 2009 | ||||
[echo] echo-task | [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: started Thu Jan 22 09:01:00 CET 2009 | ||||
[zip] Building zip: ...\my.zip | [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 | Target anotherTarget: started Thu Jan 22 09:01:01 CET 2009 | ||||
echo: started Thu Jan 22 09:01:01 CET 2009 | echo: started Thu Jan 22 09:01:01 CET 2009 | ||||
[echo] another-echo-task | [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 | BUILD SUCCESSFUL | ||||
Total time: 2 seconds | Total time: 2 seconds | ||||
@@ -93,10 +93,10 @@ public class ProfileLogger extends DefaultLogger { | |||||
String msg = null; | String msg = null; | ||||
if (start != null) { | if (start != null) { | ||||
long diff = now.getTime() - start.getTime(); | long diff = now.getTime() - start.getTime(); | ||||
msg = StringUtils.LINE_SEP + name + ": finished" + now + " (" | |||||
msg = StringUtils.LINE_SEP + name + ": finished " + now + " (" | |||||
+ diff + "ms)"; | + diff + "ms)"; | ||||
} else { | } else { | ||||
msg = StringUtils.LINE_SEP + name + ": finished" + now | |||||
msg = StringUtils.LINE_SEP + name + ": finished " + now | |||||
+ " (unknown duration, start not detected)"; | + " (unknown duration, start not detected)"; | ||||
} | } | ||||
printMessage(msg, out, event.getPriority()); | printMessage(msg, out, event.getPriority()); | ||||