<!-- ******************************************************************* -->
<!-- このAntタスクをグラフで図示する -->
<!-- ==========================================
このタスクには、以下の2つのソフトが必要です
Graphviz http://www.graphviz.org/
Vizant http://vizant.sourceforge.net/
=========================================== -->
<taskdef name="vizant" classname="net.sourceforge.vizant.Vizant" classpath="vizant.jar"/>
<target name="visualize"
escription="このAntタスクをグラフで図示します">
<!-- build.dot ファイルを作成する -->
<vizant antfile="build.xml" outfile="build.dot">
<attrstmt type="node.default">
<attr name="style" value="filled"/>
<attr name="color" value="pink"/>
</attrstmt>
</vizant>
<!-- build.dot ファイルから build.png を作成する -->
<exec executable="C:/Program Files/ATT/Graphviz/bin/dot.exe">
<arg line="-Tpng build.dot -o build.png"/>
</exec>
<!-- build.dot ファイルを削除する -->
<delete file="build.dot"/>
</target>