-
Notifications
You must be signed in to change notification settings - Fork 0
/
#build.xml#
56 lines (51 loc) · 2.19 KB
/
#build.xml#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<project name="asteroids" basedir="." default="main">
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="lib.dir" value="lib"/>
<property name="javadoc.dir" value="doc"/>
<property name="uml.dir" value="uml"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<target name="javadocs" description="generates javadoc and also UML Diagram">
<javadoc sourcepath="${src.dir}" packagenames="*" destdir="${javadoc.dir}" classpathref="java.classpath" private="true">
<doclet name="org.umlgraph.doclet.UmlGraphDoc" path="${lib.dir}/UmlGraph.jar">
<param name="-attributes" />
<param name="-operations" />
<param name="-qualify" />
<param name="-types" />
<param name="-visibility" />
</doclet>
</javadoc>
<apply executable="dot" dest="${uml.dir}" parallel="false">
<arg value="-Tpng"/>
<arg value="-o"/>
<targetfile/>
<srcfile/>
<fileset dir="${uml.dir}" includes="*.dot"/>
<mapper type="glob" from="*.dot" to="*.png"/>
</apply>
</target>
<!-- <target name="uml" depends="prepare"> -->
<!-- <property name="uml.dir" value="${basedir}/uml"/> -->
<!-- <property name="src.uml.dir" value="${src.dir}/uml"/> -->
<!-- <mkdir dir="${uml.dir}"/> -->
<!-- <path id="uml.source.path"> -->
<!-- <pathelement path="${src.uml.dir}/"/> -->
<!-- <pathelement path="${src.java.dir}"/> -->
<!-- </path> -->
<!-- <javadoc sourcepathref="uml.source.path" packagenames="*" package="true"> -->
<!-- <doclet name="org.umlgraph.doclet.UmlGraph" path="${basedir}/lib/UmlGraph.jar"> -->
<!-- <param name="-d" value="${uml.dir}"/> -->
<!-- </doclet> -->
<!-- </javadoc> -->
<!-- <apply executable="dot" dest="${uml.dir}" parallel="false"> -->
<!-- <arg value="-Tpng"/> -->
<!-- <arg value="-o"/> -->
<!-- <targetfile/> -->
<!-- <srcfile/> -->
<!-- <fileset dir="${uml.dir}" includes="*.dot"/> -->
<!-- <mapper type="glob" from="*.dot" to="*.png"/> -->
<!-- </apply> -->
<!-- </target> -->
</project>