Printing Ant target execution time

后端 未结 4 464
广开言路
广开言路 2020-12-14 08:13

I want to print the execution time taken for each individual Ant target and its dependent targets.



        
4条回答
  •  攒了一身酷
    2020-12-14 08:41

    If you're using ant-contrib, then there is a stopwatch task. Put it at the top and bottom of each target and it will report the elapsed and total times.

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

提交回复
热议问题