You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Ashwin S." <As...@infics.com> on 2004/06/01 07:38:53 UTC

Ant introspection and property resolution

Is there a way of actually introspecting a build file via ant. The introspection should help expose details such as
a) all targets in an build file
b) dependency trees for targets

and many other such details that might be useful to seasoned ant-users.

I am envisaging its use as follows:

a)

cmdline> ant -showtargets [build.xml]

Result:

Found targets: 
	abc
	xyz


b) 

cmdline> ant -dependencies [build.xml]

	target [abc]
		- init
		- check-ab
	target [xyz]
		- init
		- abc


Also, is there a property resolver which allows an ant-user to know what the real values of all properties used by any target(s) would be at runtime?

If these features don't exist, what do the folks here think of it? Anyone interested in working on creating them??



Thanks & Regards,
Ash


Disclaimer:

This email and any files transmitted with it are confidential and intended solely for the individual or entity to which it is addressed. If you have received this email in error please notify the sender and delete this mail immediately. 







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