mirror of https://github.com/dspinellis/UMLGraph
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:
parent
ef951d4d7a
commit
68a3ae6afa
22
build.xml
22
build.xml
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue