Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Grand

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:

Make room for JavaSpaces, Part 2 - JavaWorld January 2000
Make room for JavaSpaces, Part 2 - JavaWorld January 2000
 
C# : A language alternative or just J--? (part1)
C# : A language alternative or just J--? (part1)
 
An open alternative to JSP - The faults of JSP So what's wrong with JSP?
How the template-based, open source API FreeMarker trumps JSP
 
Navigate through virtual worlds using Java 3D
Navigate through virtual worlds using Java 3D
 
Biological Databases Links
Biological Databases Links Biological Databases Biological Databases are like any other databases. Biological Database contains the sequence data of DNA, RNA etc.. These database are organized for optimal retrieval and analysis. Here are the
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.