Made the test target generate the diagrams as well for both dot-out and dot-ref directories... a visual comparison is faster than delving into the dot sources, at least to understand what's going on before going into detail.

This commit is contained in:
Andrea Aime 2005-12-30 18:04:55 +00:00
parent ef951d4d7a
commit 68a3ae6afa
1 changed files with 22 additions and 0 deletions

View File

@ -10,6 +10,8 @@
<property name="javadoc" location="javadoc"/>
<property name="lib" location="lib"/>
<property name="testsrc" location="test/src"/>
<property name="testout" location="${basedir}/testdata/dot-out"/>
<property name="testref" location="${basedir}/testdata/dot-ref"/>
<!-- import environment variables -->
<property environment="env"/>
@ -46,6 +48,22 @@ class Version { public static String VERSION = "${VERSION}";}
<pathelement location="${lib}/UmlGraph.jar"/>
</classpath>
</java>
<apply executable="dot" dest="${testout}" parallel="false">
<arg value="-Tpng"/>
<arg value="-o"/>
<targetfile/>
<srcfile/>
<fileset dir="${testout}" includes="*.dot"/>
<mapper type="glob" from="*.dot" to="*.png"/>
</apply>
<apply executable="dot" dest="${testref}" parallel="false">
<arg value="-Tpng"/>
<arg value="-o"/>
<targetfile/>
<srcfile/>
<fileset dir="${testref}" includes="*.dot"/>
<mapper type="glob" from="*.dot" to="*.png"/>
</apply>
</target>
<target name="javadocs" depends="compile">
@ -64,5 +82,9 @@ class Version { public static String VERSION = "${VERSION}";}
<arg value="${dotFile}"/>
</exec>
</target>
<target name="out-classdiagrams" depends="compile">
</target>
</project>