printing ant target execution time

Posted by Nirmal Patel on Stack Overflow See other posts from Stack Overflow or by Nirmal Patel
Published on 2010-02-12T07:20:02Z Indexed on 2010/03/28 13:03 UTC
Read the original article Hit count: 400

Filed under:

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

<target name="target1" depends="target2, target3"> 
....
</target>

When run should show following output

Target 2 - x seconds
Target 3 - y seconds
Target 1 - z seconds

Any suggestions on how to achieve this?

© Stack Overflow or respective owner

Related posts about ant