1
<project name="Build specific targets and properties" default="noDefault" >
3
<!-- ===================================================================== -->
4
<!-- Run a given ${target} on all elements being built -->
5
<!-- Add on <ant> task for each top level element being built. -->
6
<!-- ===================================================================== -->
7
<target name="allElements">
8
<ant antfile="${genericTargets}" target="${target}" >
9
<property name="type" value="feature" />
10
<property name="id" value="org.eclipse.cdt" />
14
<!-- ===================================================================== -->
15
<!-- Targets to assemble the built elements for particular configurations -->
16
<!-- These generally call the generated assemble scripts (named in -->
17
<!-- ${assembleScriptName}) but may also add pre and post processing -->
18
<!-- Add one target for each root element and each configuration -->
19
<!-- ===================================================================== -->
21
<target name="assemble.org.eclipse.cdt.aix.motif.ppc">
22
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
23
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-aix.ppc.tar.gz"/>
27
<target name="assemble.org.eclipse.cdt.linux.gtk.x86">
28
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
29
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-linux.x86.tar.gz"/>
33
<target name="assemble.org.eclipse.cdt.linux.gtk.x86_64">
34
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
35
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-linux.x86_64.tar.gz"/>
39
<target name="assemble.org.eclipse.cdt.linux.gtk.ppc">
40
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
41
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-linux.ppc.tar.gz"/>
45
<target name="assemble.org.eclipse.cdt.linux.gtk.ia64">
46
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
47
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-linux.ia64.tar.gz"/>
51
<target name="assemble.org.eclipse.cdt.macosx.carbon.ppc">
52
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
53
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-macosx.ppc.tar.gz"/>
57
<target name="assemble.org.eclipse.cdt.qnx.photon.x86">
58
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
59
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-qnx.x86.tar.gz"/>
63
<target name="assemble.org.eclipse.cdt.solaris.motif.sparc">
64
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
65
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-solaris.sparc.tar.gz"/>
69
<target name="assemble.org.eclipse.cdt.win32.win32.x86">
70
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
71
<property name="archiveName" value="cdt-${branchVersion}-${buildId}-win32.x86.zip"/>
75
<!-- ===================================================================== -->
76
<!-- Check out map files from correct repository -->
77
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
78
<!-- ===================================================================== -->
79
<target name="getMapFiles">
80
<copy file="${builder}/../maps/cdt.map" todir="${buildDirectory}/maps"/>
81
<replace file="${buildDirectory}/maps/cdt.map">
82
<replacefilter token="@cdtTag@" value="${cdtTag}"/>
86
<!-- ===================================================================== -->
87
<!-- Steps to do before setup -->
88
<!-- ===================================================================== -->
89
<target name="preSetup">
92
<!-- ===================================================================== -->
93
<!-- Steps to do after setup but before starting the build proper -->
94
<!-- ===================================================================== -->
95
<target name="postSetup">
98
<!-- ===================================================================== -->
99
<!-- Steps to do before fetching the build elements -->
100
<!-- ===================================================================== -->
101
<target name="preFetch">
104
<!-- ===================================================================== -->
105
<!-- Steps to do after fetching the build elements -->
106
<!-- ===================================================================== -->
107
<target name="postFetch">
108
<condition property="patchesAvailable">
109
<available file="${builder}/patch.xml"/>
111
<antcall target="applyPatches"/>
114
<target name="applyPatches" if="patchesAvailable">
115
<ant antfile="${builder}/patch.xml"/>
118
<!-- ===================================================================== -->
119
<!-- Steps to do before generating the build scripts. -->
120
<!-- ===================================================================== -->
121
<target name="preGenerate">
124
<!-- ===================================================================== -->
125
<!-- Steps to do after generating the build scripts. -->
126
<!-- ===================================================================== -->
127
<target name="postGenerate">
131
<!-- ===================================================================== -->
132
<!-- Steps to do before running the build.xmls for the elements being built. -->
133
<!-- ===================================================================== -->
134
<target name="preProcess">
135
<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
136
<include name="**/about.mappings" />
140
<!-- ===================================================================== -->
141
<!-- Steps to do after running the build.xmls for the elements being built. -->
142
<!-- ===================================================================== -->
143
<target name="postProcess">
147
<!-- ===================================================================== -->
148
<!-- Steps to do before running assemble. -->
149
<!-- ===================================================================== -->
150
<target name="preAssemble">
153
<!-- ===================================================================== -->
154
<!-- Steps to do after running assemble. -->
155
<!-- ===================================================================== -->
156
<target name="postAssemble">
159
<!-- ===================================================================== -->
160
<!-- Steps to do after the build is done. -->
161
<!-- ===================================================================== -->
162
<target name="postBuild">
165
<!-- ===================================================================== -->
166
<!-- Steps to do to test the build results -->
167
<!-- ===================================================================== -->
171
<!-- ===================================================================== -->
172
<!-- Steps to do to publish the build results -->
173
<!-- ===================================================================== -->
174
<target name="publish">
177
<!-- ===================================================================== -->
178
<!-- Default target -->
179
<!-- ===================================================================== -->
180
<target name="noDefault">
181
<echo message="You must specify a target when invoking this file" />