blob: 975a28993256773659051cfa4be411c0dbdbfa09 [file] [log] [blame]
david_williamsf9aba5f2010-08-22 21:08:36 +00001<?xml version="1.0" encoding="UTF-8"?>
david_williams0ecd8ec2009-11-09 04:16:21 +00002<project
3 default="build"
4 basedir=".">
5 <fail
6 unless="wtp.builder.home"/>
7 <property
8 file="${wtp.builder.home}/build.properties"/>
david_williamsf9aba5f2010-08-22 21:08:36 +00009 <property
10 environment="env"/>
11
12 <!-- required to get proper value of doCreateFprojZips -->
13 <property
14 name="keyCfgFile"
15 value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
16 <echo
17 level="info"
18 message="keyCfgFile: ${keyCfgFile}"/>
19 <property
20 file="${keyCfgFile}"/>
21
22 <echo
23 message="transformedRepoLocation: ${transformedRepoLocation}"/>
24 <mkdir
25 dir="${transformedRepoLocation}"/>
26
27
28 <!-- main -->
david_williams0ecd8ec2009-11-09 04:16:21 +000029 <target
30 name="build"
31 depends="getBaseBuilder">
32 <dirname
33 file="${ant.file}"
34 property="distribution.wtp.build.dir"/>
35 <property
36 name="buildTargets"
37 value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
david_williamsf9aba5f2010-08-22 21:08:36 +000038
david_williams0ecd8ec2009-11-09 04:16:21 +000039 <property
40 name="dependency.properties"
david_williamsf46c7712010-08-08 01:58:59 +000041 value="${buildDirectory}/maps/${env.RELENG}/${dependencyFileLocation}"/>
david_williams0ecd8ec2009-11-09 04:16:21 +000042
43 <!-- calling label.xml to createg label.properties file -->
44 <ant
45 antfile="${wtp.builder.home}/scripts/build/label.xml"/>
46 <echo
47 level="info"
48 message="invoking buildTargets: ${buildTargets} to build for each component"/>
david_williamsf9aba5f2010-08-22 21:08:36 +000049
david_williams0ecd8ec2009-11-09 04:16:21 +000050 <ant
51 antfile="${buildTargets}">
52 <property
53 name="component"
54 value="jsdt_sdk"/>
55 </ant>
56 <ant
57 antfile="${buildTargets}">
58 <property
59 name="component"
60 value="jsdt_tests"/>
61 <property
62 name="eclipseBuildFailOnError"
63 value="false"/>
64 </ant>
65
david_williams58a54172010-08-22 21:44:51 +000066
david_williams0ecd8ec2009-11-09 04:16:21 +000067 <!-- package -->
68 <antcall
69 target="package"/>
david_williamsdc269912010-08-22 23:08:44 +000070
71 <!-- publish now, before tests, etc.
72 <antcall
73 target="publishEarly"/>
74-->
75
76 </target>
david_williamsdc269912010-08-22 23:08:44 +000077
78
david_williams0ecd8ec2009-11-09 04:16:21 +000079 <!-- invoking runbuild.xml targetting getBaseBuilder -->
80 <target
81 name="getBaseBuilder"
82 if="eclipse.builder.fetch">
83 <dirname
84 file="${ant.file}"
85 property="wtbuilder.dir"/>
86 <property
87 name="buildTargets"
88 value="${wtp.builder.home}/scripts/build/runbuild.xml"/>
89 <echo
90 level="info"
91 message="invoking buildTargets: ${buildTargets} -> getBaseBuilder"/>
92 <ant
93 antfile="${buildTargets}"
94 target="getBaseBuilder"/>
95 </target>
96 <target
97 name="package">
98 <!--
99 post, post packaging, for WTP ... "manually" assemble the
100 desired zips
101 -->
102 <!-- nothing to assemble right now -->
103 </target>
104</project>