Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I measure the time it taks for the task “java” to complete?

COMPLETE Java measure TAKS Task time
0
Posted

How do I measure the time it taks for the task “java” to complete?

0

Location: http://www.jguru.com/faq/view.jsp?EID=726911 Created: Jan 19, 2002 Author: Erik Hatcher (http://www.jguru.com/guru/viewbio.jsp?EID=405274) Question originally posed by vijay mummaneni (http://www.jguru.com/guru/viewbio.jsp?EID=724900 You could write a BuildListener to observe the tasks being executed, and diff the time between taskStarted and taskFinished. Just write a class that implements org.apache.tools.ant.BuildListener and from the commandline: ant -listener com.ant.YourListener You can use ‘instanceof’ to determine the task that is being run.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123