> 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
-projecthelp
Could only make nonsense if you have only some targets with description
attributes.
But I think I had read something about that on dev or users list ...
> 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??
You mean something like http://www.jguru.com/forums/view.jsp?EID=1121580 ?
Jan
|