aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant - target hierarchy of build.xml file. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Ant - target hierarchy of build.xml file." Watch "Ant - target hierarchy of build.xml file." New topic
Author

Ant - target hierarchy of build.xml file.

Guy Roth
Ranch Hand

Joined: Aug 09, 2009
Posts: 74
I have got a long build.xml that contains plenty of targets. Some of them already not in use.

Is there any tool that can be used to figure which ant targets are being called inside this file. (of course that it won't be able to figure which targets are for external use that is being called from outside but with those I'll handle).

I open the build file in eclipse (version 3.5) but there is no such assisting tool.

Does anyone know of a tool that does it?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Search for "ant +graphviz"; there are at least three tools that will use GraphViz to draw a target dependency graph.
Guy Roth
Ranch Hand

Joined: Aug 09, 2009
Posts: 74
I knew that the ranch won't fail me.
What a briliant people here.

I indeed found this: http://vizant.sourceforge.net
And this is even more than I expected.

Thanks!

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Ant - target hierarchy of build.xml file.
 
Similar Threads
.classpath and ant
Ant cannot find file, but it's there
Executing multiple targets in subprojects
If IDE Why use ANT
Eclipse and ANT