Nelz's Blog

Mah blogginess

GraphViz and Ant2dot

So, in trying to understand the ANT build here at my new company Widgetbox, I pulled out an old friend from my toolbox.

Using the ant2dot.xsl file, I was able to transform the build.xml file into a "build.dot" file. Then using a MacOSX port of GraphViz, I was able to tranform the "build.dot" file into a build.png.

Seeing the build dependencies represented graphically can really help with comprehension of a new build.