blob: 2bcb686702ddaca1d79351c19f90533d6bff6bd4 [file] [log] [blame]
david_williams238ff932012-03-17 22:30:11 +00001<project name="allElements Delegator">
2 <property
3 name="defaultAssemblyEnabled"
4 value="true"/>
5 <!--
6 =====================================================================
7 -->
8 <!-- Run a given ${target} on all elements being built -->
9 <!--
10 By default ${topLevelElementType} and ${topLevelElementId}
11 should be
12 -->
13 <!--
14 defined in the builder's build.properties file. You can
15 customize by
16 -->
17 <!-- setting the type/id values directly here. -->
18 <!--
19 You can add additional calls to ${genericTargets} to build more
20 top
21 -->
22 <!-- level elements. -->
23 <!-- -->
24 <!--
25 The top level must exist in the ${buildDirectory},
26 ${baseLocation} or
27 -->
28 <!-- ${pluginPath} locations. -->
29 <!--
30 =====================================================================
31 -->
32 <target name="allElementsDelegator">
33 <ant
34 antfile="${genericTargets}"
35 target="${target}">
36 <property
37 name="type"
38 value="${topLevelElementType}"/>
39 <property
40 name="id"
41 value="${topLevelElementId}"/>
42 </ant>
43 </target>
44 <!--
45 ======================================================================
46 -->
47 <!--
48 The default assemble target, this will be called to assemble
49 each
50 -->
51 <!-- config if a custom assemble target is not defined. -->
52 <!-- The following properties will be defined: -->
53 <!--
54 config : The configuration being assembled eg "win32.win32.x86"
55 -->
56 <!-- element: The element being assembled eg "org.eclipse.sdk" -->
57 <!-- assembleScriptName: The assemble script to be called -->
58 <!--
59 ======================================================================
60 -->
61 <target name="defaultAssemble">
62 <echo message="defaultAssemble assembleScriptName: ${assembleScriptName}"/>
63 <ant
64 antfile="${assembleScriptName}"
65 dir="${buildDirectory}"/>
66 </target>
67 <!--
68 =====================================================================
69 -->
70 <!-- Custom targets to assemble the built elements for particular -->
71 <!--
72 configurations. These generally call the generated assemble
73 scripts
74 -->
75 <!--
76 (named in ${assembleScriptName}) but may also add pre and post
77 -->
78 <!-- processing -->
79 <!--
80 Add one target for each root element and each configuration for
81 which
82 -->
83 <!--
84 custom processing is desired. Replace element.id with the id of
85 the
86 -->
87 <!--
88 top level element being built. A property with a matching name
89 must
90 -->
91 <!--
92 be defined for this custom target to be called instead of the
93 -->
94 <!-- defaultAssemble target above. -->
95 <!-- Example: name="assemble.org.eclipse.sdk" -->
96 <!-- Example: name="assemble.org.eclipse.sdk.win32.win32.x86" -->
97 <!--
98 ======================================================================
99 -->
100 <property
101 name="assemble.element.id[.config.spec]"
102 value="true"/>
103 <target name="assemble.element.id[.config.spec]">
104 <ant
105 antfile="${assembleScriptName}"
106 dir="${buildDirectory}"/>
107 </target>
108</project>