In my build.xml
I have a main build target which is composed of several targets. I need to check how much time takes to run those targets. Currently in my output console, I only see TOTAL TIME
for the build. Is there a way to show times for internal targets?
It's quite straight forward.
DefaultLogger
targetStarted
to store start timestamptargetFinished
to calculate elapsed time and print it to output stream-logger
f.e. to use lib/loggers/MyLogger.php
call: phing -logger lib.loggers.MyLogger
If you want to print execution times of subtargets just use:
$phing <target> -logger phing.listener.TargetLogger