You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Juergen Damke <DA...@de.ibm.com> on 2002/04/11 10:19:06 UTC
Execution Duration of a Task
Is there a possibillity to echo the duration of certain tasks in a log.
The idea is to do a <tstamp/> at start and a <tstamp/> at the end and
calulation
the time difference in mins & seconds.
Mit freundlichen Grüßen / With best regards
Jürgen Damke
______________________________________________________________________
IBM WebSphere Portal Server Development 1, Dept 6547
URL: http://www-4.ibm.com/software/webservers/portal/
IBM Development Laboratory Böblingen, Germany
Phone: +49/7031/16 -3375, Fax: -4888 - MailTo:damke@de.ibm.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Execution Duration of a Task
Posted by Diane Holt <ho...@yahoo.com>.
--- Juergen Damke <DA...@de.ibm.com> wrote:
> Is there a possibillity to echo the duration of certain tasks in a log.
Using the XmlLogger listener will do that. Of course, you'll get the log
for everything, not just certain tasks. (Might be a nice enhancement to
<record>.)
> The idea is to do a <tstamp/> at start and a <tstamp/> at the end and
> calulation the time difference in mins & seconds.
The problem with doing it that way is you'd need to have a different
property for every time you did the <tstamp/>.
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>