you might be better off using an xslt transformation on the build.xml file itself,
just a lurkers comments, jim fuller > -----Original Message----- > From: Mazzolini, Mike [mailto:[EMAIL PROTECTED] > Sent: 25 June 2003 17:00 > To: [EMAIL PROTECTED] > Subject: RE: Getting the complete build.xml? > > > Ok. Thanks that helps. > > Now this leads into another question. The Project.topoSort and > Project.getTargets gets me all targets and their tasks but > what if someone > does an 'antcall' task? How would I go about handling that? > It looks like > Ant doesn't know anything about this task until it executes > it. How do I > get information about what targets/tasks it might be calling? > > Thanks. > Mike > > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 9:41 AM > To: [EMAIL PROTECTED] > Subject: Re: Getting the complete build.xml? > > > On Wed, 25 Jun 2003, Mike Mazzolini <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please contact the sender immediately. Any disclosure, copying, distribution or any other use of this communication is strictly prohibitedand may be unlawful. Stuart Lawrence Marketing Communications Limited reserves the right to monitor and intercept communications for unlawful business purposes. This also confirms that this message has been swept for viruses, although Stuart Lawrence Marketing Communications Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or contents. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]