37
|
1 |
<project name="Build specific targets and properties" default="noDefault" >
|
|
2 |
|
|
3 |
<property name="basews" value="gtk" />
|
|
4 |
<property name="baseos" value="linux" />
|
|
5 |
<property name="basearch" value="x86" />
|
|
6 |
<property name="basenl" value="en_US" />
|
|
7 |
|
|
8 |
<!-- ===================================================================== -->
|
|
9 |
<!-- Run a given ${target} on all elements being built -->
|
|
10 |
<!-- Add on <ant> task for each top level element being built. -->
|
|
11 |
<!-- ===================================================================== -->
|
|
12 |
<target name="allElements">
|
|
13 |
<ant antfile="${genericTargets}" target="${target}" >
|
|
14 |
<property name="type" value="feature" />
|
|
15 |
<property name="id" value="org.eclipse.cdt.util" />
|
|
16 |
</ant>
|
|
17 |
</target>
|
|
18 |
|
|
19 |
<!-- ===================================================================== -->
|
|
20 |
<!-- Targets to assemble the built elements for particular configurations -->
|
|
21 |
<!-- These generally call the generated assemble scripts (named in -->
|
|
22 |
<!-- ${assembleScriptName}) but may also add pre and post processing -->
|
|
23 |
<!-- Add one target for each root element and each configuration -->
|
|
24 |
<!-- ===================================================================== -->
|
|
25 |
|
|
26 |
<target name="assemble.org.eclipse.cdt.util">
|
|
27 |
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
|
|
28 |
<property name="archiveName" value="cdt-util-${branchVersion}-${buildId}.zip"/>
|
|
29 |
</ant>
|
|
30 |
</target>
|
|
31 |
|
|
32 |
<!-- ===================================================================== -->
|
|
33 |
<!-- Check out map files from correct repository -->
|
|
34 |
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
|
|
35 |
<!-- ===================================================================== -->
|
|
36 |
<target name="getMapFiles">
|
|
37 |
<copy file="${builder}/../maps/cdt.map" todir="${buildDirectory}/maps"/>
|
|
38 |
<replace file="${buildDirectory}/maps/cdt.map">
|
|
39 |
<replacefilter token="@cdtTag@" value="${cdtTag}"/>
|
|
40 |
</replace>
|
|
41 |
</target>
|
|
42 |
|
|
43 |
<!-- ===================================================================== -->
|
|
44 |
<!-- Steps to do before setup -->
|
|
45 |
<!-- ===================================================================== -->
|
|
46 |
<target name="preSetup">
|
|
47 |
</target>
|
|
48 |
|
|
49 |
<!-- ===================================================================== -->
|
|
50 |
<!-- Steps to do after setup but before starting the build proper -->
|
|
51 |
<!-- ===================================================================== -->
|
|
52 |
<target name="postSetup">
|
|
53 |
</target>
|
|
54 |
|
|
55 |
<!-- ===================================================================== -->
|
|
56 |
<!-- Steps to do before fetching the build elements -->
|
|
57 |
<!-- ===================================================================== -->
|
|
58 |
<target name="preFetch">
|
|
59 |
</target>
|
|
60 |
|
|
61 |
<!-- ===================================================================== -->
|
|
62 |
<!-- Steps to do after fetching the build elements -->
|
|
63 |
<!-- ===================================================================== -->
|
|
64 |
<target name="postFetch">
|
|
65 |
</target>
|
|
66 |
|
|
67 |
<!-- ===================================================================== -->
|
|
68 |
<!-- Steps to do before generating the build scripts. -->
|
|
69 |
<!-- ===================================================================== -->
|
|
70 |
<target name="preGenerate">
|
|
71 |
</target>
|
|
72 |
|
|
73 |
<!-- ===================================================================== -->
|
|
74 |
<!-- Steps to do after generating the build scripts. -->
|
|
75 |
<!-- ===================================================================== -->
|
|
76 |
<target name="postGenerate">
|
|
77 |
</target>
|
|
78 |
|
|
79 |
|
|
80 |
<!-- ===================================================================== -->
|
|
81 |
<!-- Steps to do before running the build.xmls for the elements being built. -->
|
|
82 |
<!-- ===================================================================== -->
|
|
83 |
<target name="preProcess">
|
|
84 |
<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
|
|
85 |
<include name="**/about.mappings" />
|
|
86 |
</replace>
|
|
87 |
</target>
|
|
88 |
|
|
89 |
<!-- ===================================================================== -->
|
|
90 |
<!-- Steps to do after running the build.xmls for the elements being built. -->
|
|
91 |
<!-- ===================================================================== -->
|
|
92 |
<target name="postProcess">
|
|
93 |
</target>
|
|
94 |
|
|
95 |
|
|
96 |
<!-- ===================================================================== -->
|
|
97 |
<!-- Steps to do before running assemble. -->
|
|
98 |
<!-- ===================================================================== -->
|
|
99 |
<target name="preAssemble">
|
|
100 |
</target>
|
|
101 |
|
|
102 |
<!-- ===================================================================== -->
|
|
103 |
<!-- Steps to do after running assemble. -->
|
|
104 |
<!-- ===================================================================== -->
|
|
105 |
<target name="postAssemble">
|
|
106 |
</target>
|
|
107 |
|
|
108 |
<!-- ===================================================================== -->
|
|
109 |
<!-- Steps to do after the build is done. -->
|
|
110 |
<!-- ===================================================================== -->
|
|
111 |
<target name="postBuild">
|
|
112 |
</target>
|
|
113 |
|
|
114 |
<!-- ===================================================================== -->
|
|
115 |
<!-- Steps to do to test the build results -->
|
|
116 |
<!-- ===================================================================== -->
|
|
117 |
<target name="test">
|
|
118 |
</target>
|
|
119 |
|
|
120 |
<!-- ===================================================================== -->
|
|
121 |
<!-- Steps to do to publish the build results -->
|
|
122 |
<!-- ===================================================================== -->
|
|
123 |
<target name="publish">
|
|
124 |
</target>
|
|
125 |
|
|
126 |
<!-- ===================================================================== -->
|
|
127 |
<!-- Default target -->
|
|
128 |
<!-- ===================================================================== -->
|
|
129 |
<target name="noDefault">
|
|
130 |
<echo message="You must specify a target when invoking this file" />
|
|
131 |
</target>
|
|
132 |
|
|
133 |
</project>
|