Difference between
version 4
and
version 3:
| At line 16 changed 1 line. |
| 3. Add the |
| 3. Add the "vizant" target in build.xml: |
|
| {{{ |
| <!-- Visant task for visualizing Ant tasks --> |
| <target name="vizant"> |
| <taskdef name="vizant" classname="net.sourceforge.vizant.Vizant" |
| classpath="${vizant.jar}"/> |
| <mkdir dir="${build.dir}/vizant"/> |
| <vizant antfile="build.xml" outfile="${build.dir}/vizant/build.dot" |
| from="deploy" to="init"> |
| <attrstmt type="node"> |
| <attr name="style" value="filled"/> |
| <attr name="shape" value="egg"/> |
| <attr name="color" value="grey90"/> |
| </attrstmt> |
| </vizant> |
| <exec executable="dot"> |
| <arg line="-Tpng ${build.dir}/vizant/build.dot -o |
| ${build.dir}/vizant/deploy.png"/> |
| </exec> |
| </target> |
| }}} |
|
| 4. Adjust "from" and "to" attributes in the <vizant> task to fit with the targets you want to diagram. |
|
| 5. Run "ant vizant". |
Back to SetupVizant,
or to the Page History.
|