• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant - target hierarchy of build.xml file.

 
Guy Roth
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for "ant +graphviz"; there are at least three tools that will use GraphViz to draw a target dependency graph.
 
Guy Roth
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic