ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Getting the complete build.xml?
Date Wed, 25 Jun 2003 14:41:00 GMT
On Wed, 25 Jun 2003, Mike Mazzolini <mike.mazzolini@bankofamerica.com>
wrote:

> 	When Ant starts, does it parse the entire XML file before
> 	running any tasks?

Yes.

> 	In other words does it build a DOM object or does it use SAX?

Not the same question.  Ant uses SAX.

> 	I'm looking to get the entire list of Targets and Tasks for a
> 	particular build in order to display them on the web or some
> 	other interface.

See Project.getTargets for all targets in the project and
Project.topoSort to get the sorted list of targets that are going to
be executed.

Stefan

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


Mime
View raw message