Description
Task to modify the output generated from the JDepend - Graphviz stylesheet. This maps java package names to our own common component names and also removes duplicates. It can produce different types of output depending on the setting for the diagramType property.
To make use of the output from this task, you will need to have the GraphViz utility installed on your machine. This task is targetted for the common components usage.
To use this as an ANT task, you will need to add a taskdef to your build file:
<taskdef name="jdepend-helper" classname="com.deaded.ant.JDependHelperTask"
classpath="commonAntTasks.jar"/>
Parameters
| Attribute | Description | Required |
| inputFile | The GraphViz generated file to use as input | Yes |
| outputFile | The file to write out a file in GraphViz format | Yes |
| propertyFile | The name of the property file that contains the package name to project name mappings; eg: JDependHelper.properties | Yes |
| diagramType | The type of diagram to produce. Available choices are component or package | Yes |
Example
<jdepend-helper inputFile="jdepend-report.dot" outputFile="jdepend-report.dot"
propertyFile="JDependHelper.properties"
diagramType="component"/>
DeadEd.com
http://www.deaded.com/staticpages/index.php/jdependhelpertask