-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_order.xml
More file actions
21 lines (19 loc) · 785 Bytes
/
Copy pathbuild_order.xml
File metadata and controls
21 lines (19 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".">
<import file="build_setup.xml" />
<target name="build_more" depends="setup">
<foreach target="build_one" list="${targets.name}" delimiter="," param="target.name" trim="true" parallel="${config.parallel}" maxthreads="${config.maxthread}" inheritall="true" />
</target>
<target name="build_one">
<basename file="${target.dir}" property="target.name" />
<if>
<available filepath="${config.dir.src}" file="${target.name}" type="dir" />
<then>
<ant dir="${config.dir.src}/${target.name}" antfile="${target.name}.xml" target="build" output="${config.dir.log}/${target.name}.log" />
</then>
<else>
<echo>${config.dir.src}/${target.name} is not exist!!</echo>
</else>
</if>
</target>
</project>