-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
64 lines (53 loc) · 1.59 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
57
58
59
60
61
62
63
64
<project>
<property name="build.dir" value="Build_${user.name}"/>
<property name="javadoc.dir" value="${build.dir}/javadoc"/>
<macrodef name="iterate">
<attribute name="target"/>
<sequential>
<subant target="@{target}">
<!-- <fileset dir="." includes="*/build.xml"/> -->
<filelist dir=".">
<file name="Collections/build.xml"/>
<file name="Reactor/build.xml"/>
</filelist>
</subant>
</sequential>
</macrodef>
<target name="verify">
<echo message="javadoc.dir = ${javadoc.dir}"/>
<iterate target="verify"/>
</target>
<target name="generate">
<iterate target="generate"/>
</target>
<target name="compile">
<iterate target="compile"/>
</target>
<target name="test">
<iterate target="test"/>
</target>
<target name="jar">
<iterate target="jar"/>
</target>
<target name="clean">
<iterate target="clean"/>
</target>
<target name="javadoc" depends="generate">
<javadoc destdir="${javadoc.dir}" windowtitle="ReadyPosition API">
<sourcepath location="Collections"/>
<sourcepath location="Reactor"/>
<!-- XXX - This path should probably be in a variable. -->
<sourcepath location="${build.dir}/Collections/generated"/>
<!-- XXX - figure out a way to exclude test directories. -->
<package name="com.readyposition.*"/>
<classpath>
<fileset dir="ThirdParty">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javadoc>
</target>
<target name="pure">
<delete dir="Build_${user.name}"/>
</target>
</project>