ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jones, Jeff" <jjo...@soe.sony.com>
Subject RE: Library to Parse and Display Ant buildfile
Date Fri, 19 Dec 2003 17:14:52 GMT
Yes, I should have phrased my question better - with more emphasis on the
modeling part.

I was looking for something that would understand the semantics of the file,
and maybe even build an object from it that I could use for more than just
listing targets.

Maybe something like:

	Project myProj = new Project();
	ProjectHelper antHelper = ProjectHelper.getProjectHelper();
	antHelper.parse(myProj,new File(buildFile));

Thanks,
Jeff

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Thursday, December 18, 2003 11:58 PM
To: user@ant.apache.org
Subject: RE: Library to Parse and Display Ant buildfile


Each 'standard' xml parser should work :-)

Jan

> -----Original Message-----
> From: Jones, Jeff [mailto:jjones@soe.sony.com]
> Sent: Thursday, December 18, 2003 10:51 PM
> To: 'Ant Users List'
> Subject: Library to Parse and Display Ant buildfile
> 
> 
> Hi,
> 
> Is there a 'standard' library for parsing and modeling an Ant
> buildfile?
> 
> For example, to parse a build file and display a tree of the
> targets to a
> user (like eclipse and netbeans can do)?
> 
> Thanks!
> Jeff
> 
> ---------------------------------------------------------------------
> 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