ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Echlin, Robert" <Robert.Ech...@windriver.com>
Subject RE: How do I trace where a target was called from in a complicated build?
Date Mon, 26 Mar 2012 13:39:41 GMT
Hi
I see that it does that indeed.
I apparently didn't notice those lines at the end.
Of course I had no way of knowing they would be at the end, or what they would look like.
:-)

Thanks for the info! 
I should be able to use this.

Rob

Rob Echlin, 1.613.270.5796 | Skype: rob.echlin.wr | robert.echlin@windriver.com

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Tuesday, March 20, 2012 11:44 AM
To: user@ant.apache.org
Subject: Re: How do I trace where a target was called from in a complicated build?

On 2012-03-20, Echlin, Robert wrote:

> I tried "ant -p -debug" on my own project.

> It generated 840 lines of output, but did not show the dependencies of
> targets.  Maybe Stefan was thinking of a different parameter?

It has been added in 1.8.2, maybe you are using an older version of Ant.

On Ant's own buildfile you get something like (only showing the last few
lines):

,----
|  probe-offline
|  run-which
|    depends on: check_for_optional_packages
|  ssh-mkdirs
|    depends on: init-upload
|  test-init
|    depends on: probe-offline, check_for_optional_packages
|  xml-check
|    depends on: check_for_optional_packages
| Default target: main
`----

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message