ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: How do I trace where a target was called from in a complicated build?
Date Mon, 19 Mar 2012 17:03:28 GMT
On 2012-03-19, KARR, DAVID wrote:

> I'm working with a complex build that calls the "clean" target at some
> point.  I need to figure out how/where that target is referenced.
> I've turned on Ant verbose output, but none of the additional
> information that produces helps me understand why "clean" was called.
> How can I trace how/where this target was called?

ant -p -debug

gives you the dependencies of each target without actually running the
build.  We don't have the opposite of it, unfortunately.

If all else fails, Vizant[1] may help, I'm not sure whether it
understands <import>/<include>, though.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message