Grand
Grand is a tool to create visual representation of ant target dependencies. It works by taking a ant build file and creating a \"dot\" file. This file need to be post-processed with Graphviz to produce the actual graph.
This is not something terr
Tutorial Details:
Both Vizant an AntGraph are base on a XML parsing of the ant files. While simple (AntGraph is actually a 3023 bytes XSL stylesheet) I think that parsing the XML is doing something already done by ant. As the ant syntax will become more and more rich (complex) parsing the XML may turn into a not so simple job. Ant 1.6.0 for instance introduce new tasks such as import or macrodef which can be quite tricky to implement with the XML parsing option.
Instead of parsing the ant files, Grand uses the ant API to load files, and get the information. Apart from this design choice, Grand have the ability to render differently, the default target, the main targets (those with a description attribute) and the common targets.
If you want to recomplile Grand, you\'ll first need to install Maven. After that the compilation process should be straightforward: untar or unzip, cd to the Grand directory, and type maven jar. Maven will download the required libraries, compile the classes, run the (few) unit tests and create a jar.
As an alternative to Maven, the source archive also provides a build.xml file to be used with ant. This file had been generated by maven so it tries to mimic its behaviour.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Grand
View Tutorial: Grand
Related
Tutorials:
|