ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: TImestamping in ANT
Date Tue, 10 Jul 2007 07:12:04 GMT
http://ant.apache.org/manual/listeners.html#TimestampedLogger

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] 
>Gesendet: Montag, 9. Juli 2007 19:41
>An: Ant Users List
>Betreff: Re: TImestamping in ANT
>
>I parse the build output in real time and note when "<target>:" lines 
>are printed to calculate time spend by each target and groups 
>of targets 
>(targets with the same prefix). You can print some special prefix 
>following with the current timestamp (preferably 
>System.currentTimeMillis() - easier to parse), then parse output and 
>extract all necessary times. It will work with predictable target 
>execution order, which is not in my case.
>
>- Alexey.
>
>dkhanna01 wrote:
>> I need to find out the time taken by each of the 
>process/target in our
>> build.xml file. Now for doing this I have use ANT tstamp 
>task to calculate
>> the start time and end time of the process. Now my question 
>is how do I find
>> out the total time taken by the process, I mean is there any way to
>> calculate difference between "End time" and "Start time" 
>>
>> Thanks
>>   
>
>-- 
>---------------------------------------------------------------
>---------
>Alexey N. Solofnenko <http://trelony.cjb.net/>
>Pleasant Hill, CA (GMT-8 usually)
>

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


Mime
View raw message