blob: d9f434d4ec67c8d320c42b0f1510b56e087a360e [file] [log] [blame]
david_williamsd913e922006-11-13 07:24:21 +00001<project
2 default="build"
3 basedir=".">
tle170c7902008-10-02 03:15:49 +00004 <fail
david_williams82a6c642008-10-08 14:52:33 +00005 unless="wtp.builder.home"/>
tle170c7902008-10-02 03:15:49 +00006 <property
david_williams82a6c642008-10-08 14:52:33 +00007 file="${wtp.builder.home}/build.properties"/>
david_williamsd913e922006-11-13 07:24:21 +00008 <target
9 name="build"
10 depends="getBaseBuilder">
david_williamsd913e922006-11-13 07:24:21 +000011 <dirname
12 file="${ant.file}"
david_williams82a6c642008-10-08 14:52:33 +000013 property="distribution.wtp.build.dir"/>
david_williamsd913e922006-11-13 07:24:21 +000014 <property
15 name="buildTargets"
david_williams82a6c642008-10-08 14:52:33 +000016 value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
tle170c7902008-10-02 03:15:49 +000017 <ant
david_williams82a6c642008-10-08 14:52:33 +000018 antfile="${wtp.builder.home}/scripts/build/label.xml"/>
19
20 <!-- for this distribution, dependencies come from dali.releng -->
21 <property
22 name="dependency.properties"
23 value="${buildDirectory}/maps/${env.RELENGDALI}/maps/dependencies.properties"/>
24
25
tle170c7902008-10-02 03:15:49 +000026 <ant
27 antfile="${buildTargets}">
david_williamsd913e922006-11-13 07:24:21 +000028 <property
29 name="component"
david_williams82a6c642008-10-08 14:52:33 +000030 value="dali"/>
david_williamsd913e922006-11-13 07:24:21 +000031 </ant>
tle170c7902008-10-02 03:15:49 +000032 <ant
33 antfile="${buildTargets}">
david_williamsd913e922006-11-13 07:24:21 +000034 <property
35 name="component"
david_williams82a6c642008-10-08 14:52:33 +000036 value="dali-sdk"/>
david_williamsd913e922006-11-13 07:24:21 +000037 </ant>
tle170c7902008-10-02 03:15:49 +000038 <ant
39 antfile="${buildTargets}">
david_williamsd913e922006-11-13 07:24:21 +000040 <property
41 name="component"
david_williams82a6c642008-10-08 14:52:33 +000042 value="dali.tests"/>
tle170c7902008-10-02 03:15:49 +000043 <property
44 name="eclipseBuildFailOnError"
david_williams82a6c642008-10-08 14:52:33 +000045 value="false"/>
david_williamsd913e922006-11-13 07:24:21 +000046 </ant>
tle170c7902008-10-02 03:15:49 +000047 <antcall
david_williams82a6c642008-10-08 14:52:33 +000048 target="package"/>
david_williamsd913e922006-11-13 07:24:21 +000049 </target>
david_williamsd913e922006-11-13 07:24:21 +000050 <target
51 name="getBaseBuilder"
52 if="eclipse.builder.fetch">
53 <dirname
54 file="${ant.file}"
david_williams82a6c642008-10-08 14:52:33 +000055 property="wtbuilder.dir"/>
david_williamsd913e922006-11-13 07:24:21 +000056 <property
57 name="buildTargets"
david_williams82a6c642008-10-08 14:52:33 +000058 value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
david_williamsd913e922006-11-13 07:24:21 +000059 <ant
60 antfile="${buildTargets}"
david_williams82a6c642008-10-08 14:52:33 +000061 target="getBaseBuilder"/>
david_williamsd913e922006-11-13 07:24:21 +000062 </target>
tle170c7902008-10-02 03:15:49 +000063 <target
64 name="package">
david_williams82a6c642008-10-08 14:52:33 +000065 <!--
66 post, post packaging, for WTP ... "manually" assemble the
67 desired zips
68 -->
tle170c7902008-10-02 03:15:49 +000069 <!-- nothing to assemble right now -->
70 </target>
71</project>