-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
52 lines (41 loc) · 1.56 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
<?xml version="1.0"?>
<project name="iocl" default="all">
<property name="project.dir" value="." />
<import file="build-common.xml" />
<target name="all">
<antcall target="clean" />
<antcall target="dist" />
</target>
<target name="clean">
<delete dir="dist" />
<ant dir="commons-collections" target="clean" inheritAll="false" />
<ant dir="ioclexpression" target="clean" inheritAll="false" />
<ant dir="ioclengine" target="clean" inheritAll="false" />
<ant dir="ioclgenerator" target="clean" inheritAll="false" />
</target>
<target name="compile">
<ant dir="commons-collections" target="compile" inheritAll="false" />
<ant dir="ioclexpression" target="compile" inheritAll="false" />
<ant dir="ioclengine" target="compile" inheritAll="false" />
<ant dir="ioclgenerator" target="compile" inheritAll="false" />
</target>
<target name="dist">
<antcall target="jar" />
<mkdir dir="dist" />
<copy todir="dist">
<fileset dir="commons-collections" includes="*.jar" />
<fileset dir="ioclexpression" includes="*.jar" />
<fileset dir="ioclengine" includes="*.jar" />
<fileset dir="ioclgenerator" includes="*.jar" />
</copy>
</target>
<target name="jar">
<ant dir="commons-collections" target="jar" inheritAll="false" />
<ant dir="ioclexpression" target="jar" inheritAll="false" />
<ant dir="ioclengine" target="jar" inheritAll="false" />
<ant dir="ioclgenerator" target="jar" inheritAll="false" />
</target>
<target name="test" depends="compile">
<ant dir="ioclengine" target="test" inheritAll="false" />
</target>
</project>