It is difficult to see that takes the most of the time in a complex long running builds (especially multiproject builds). Please provide a standard BuildListener that will print profiling summary, as part of Ant install. See output of such listener in action at http://jroller.com/page/eu/20050517#profiling_ant_builds_take_two
Created attachment 15249 [details] Possible implementation of such listener
*** Bug 41392 has been marked as a duplicate of this bug. ***
Ant provides a org.apache.tools.ant.listener.ProfileLogger