Solved command order issues in javadocs target: the first run resulted in an IOException because the dot file is generated in a folder generated by the standard doclet (so we need to run the standard doclet first, and generate the class diagram afterwards)

This commit is contained in:
Andrea Aime 2005-11-28 16:06:25 +00:00
parent 3eb795736f
commit 7cd1549d58
1 changed files with 2 additions and 2 deletions

View File

@ -51,6 +51,7 @@ class Version { public static String VERSION = "${VERSION}";}
</target>
<target name="javadocs" depends="compile">
<javadoc sourcepath="${src}" packagenames="gr.spinellis.umlgraph.doclet.*" destdir="${javadoc}" package="true"/>
<property name="dotFile" location="${javadoc}/gr/spinellis/umlgraph/doclet/umlgraph.dot"/>
<property name="gifFile" location="${javadoc}/gr/spinellis/umlgraph/doclet/umlgraph.gif"/>
<javadoc sourcepath="${src}" packagenames="gr.spinellis.umlgraph.doclet.*" package="true">
@ -63,8 +64,7 @@ class Version { public static String VERSION = "${VERSION}";}
<arg value="-Tgif"/>
<arg value="-o${gifFile}"/>
<arg value="${dotFile}"/>
</exec>
<javadoc sourcepath="${src}" packagenames="gr.spinellis.umlgraph.doclet.*" destdir="${javadoc}" package="true"/>
</exec>
</target>
</project>