peterreilly 2003/12/18 01:10:51
Modified: src/main/org/apache/tools/ant/taskdefs RecorderEntry.java
Log:
Initialize targetstarttime, even if the recorder is in a target
PR: 25605
Obtained from: John McDonnell
Revision Changes Path
1.12 +1 -0
ant/src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java
Index: RecorderEntry.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- RecorderEntry.java 21 Sep 2003 20:20:03 -0000 1.11
+++ RecorderEntry.java 18 Dec 2003 09:10:51 -0000 1.12
@@ -93,6 +93,7 @@
* @param name The name of this recorder (used as the filename).
*/
protected RecorderEntry(String name) {
+ targetStartTime = System.currentTimeMillis();
filename = name;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]