mirror of https://github.com/dspinellis/UMLGraph
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:
parent
3eb795736f
commit
7cd1549d58
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue