ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <dan...@grafidog.com>
Subject Re: how much time an action took
Date Sun, 17 Aug 2008 14:05:47 GMT
Antelope has this too.  See docs for the stopwatch task at:

http://antelope.tigris.org/nonav/docs/manual/bk03ch10.html

You might also be interested in the performance monitor, which can give 
you a report on the time it takes for each target to run:

http://antelope.tigris.org/nonav/docs/manual/bk03ch27.html

Both of these have been included in ant-contrib also, see ant-contrib 
docs at:

http://ant-contrib.sourceforge.net/tasks/tasks/index.html


Dale


Guy Catz wrote:
> it is possible to tell how much time took a target to run, or a process within a target,
like exec?
>
> something like ...
>
> <target ...>
>     <time action="start" property="myTime" pattern=....>
>     <exec ..
>   <time action="stop" pattern=....>
>
>   <echo>the action took ${myTime}</echo>
> ...
>
>
> is there something like this available?
>
>   

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


Mime
View raw message