|
1 <project name="Product Build allElements Delegator"> |
|
2 <property name="defaultAssemblyEnabled" value="true" /> |
|
3 <property name="archiveNamePrefix" value="${buildId}"/> |
|
4 |
|
5 <!-- ===================================================================== --> |
|
6 <!-- Run a given ${target} on all elements being built --> |
|
7 <!-- Add on <ant> task for each top level element being built. --> |
|
8 <!-- ===================================================================== --> |
|
9 <target name="allElementsDelegator"> |
|
10 <ant antfile="${genericTargets}" target="${target}"> |
|
11 <property name="type" value="feature" /> |
|
12 <property name="id" value="org.eclipse.pde.build.container.feature" /> |
|
13 </ant> |
|
14 </target> |
|
15 |
|
16 <!-- ====================================================================== --> |
|
17 <!-- The default assemble target, this will be called to assemble each --> |
|
18 <!-- config if a custom assemble target is not defined. --> |
|
19 <!-- The following properties will be defined: --> |
|
20 <!-- config : The configuration being assembled eg "win32.win32.x86" --> |
|
21 <!-- element: The element being assembled eg "org.eclipse.sdk" --> |
|
22 <!-- assembleScriptName: The assemble script to be called --> |
|
23 <!-- ====================================================================== --> |
|
24 <target name="defaultAssemble"> |
|
25 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
26 <property name="archiveName" value="${archiveNamePrefix}-${config}.zip"/> |
|
27 </ant> |
|
28 </target> |
|
29 |
|
30 <!-- ===================================================================== --> |
|
31 <!-- Targets to assemble the built elements for particular configurations --> |
|
32 <!-- These generally call the generated assemble scripts (named in --> |
|
33 <!-- ${assembleScriptName}) but may also add pre and post processing --> |
|
34 <!-- Add one target for each root element and each configuration --> |
|
35 <!-- ===================================================================== --> |
|
36 <target name="assemble.org.eclipse.pde.build.container.feature"> |
|
37 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
38 <property name="archiveName" value="${archiveNamePrefix}.zip"/> |
|
39 </ant> |
|
40 </target> |
|
41 |
|
42 <property name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86" value="true" /> |
|
43 <target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86"> |
|
44 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
45 <property name="archiveName" value="${archiveNamePrefix}-win32.win32.x86.zip"/> |
|
46 </ant> |
|
47 </target> |
|
48 |
|
49 <property name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86_64" value="true" /> |
|
50 <target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86_64"> |
|
51 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
52 <property name="archiveName" value="${archiveNamePrefix}-win32.win32.x86_64.zip"/> |
|
53 </ant> |
|
54 </target> |
|
55 |
|
56 <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc" value="true" /> |
|
57 <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc"> |
|
58 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
59 <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.ppc.zip"/> |
|
60 </ant> |
|
61 </target> |
|
62 |
|
63 <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86" value="true" /> |
|
64 <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86"> |
|
65 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
66 <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86.zip"/> |
|
67 </ant> |
|
68 </target> |
|
69 |
|
70 <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64" value="true" /> |
|
71 <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64"> |
|
72 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
73 <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/> |
|
74 </ant> |
|
75 </target> |
|
76 |
|
77 <property name="assemble.org.eclipse.pde.build.container.feature.linux.motif.x86" value="true" /> |
|
78 <target name="assemble.org.eclipse.pde.build.container.feature.linux.motif.x86"> |
|
79 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
80 <property name="archiveName" value="${archiveNamePrefix}-linux.motif.x86.zip"/> |
|
81 </ant> |
|
82 </target> |
|
83 |
|
84 <property name="assemble.org.eclipse.pde.build.container.feature.solaris.motif.sparc" value="true" /> |
|
85 <target name="assemble.org.eclipse.pde.build.container.feature.solaris.motif.sparc"> |
|
86 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
87 <property name="archiveName" value="${archiveNamePrefix}-solaris.motif.sparc.zip"/> |
|
88 </ant> |
|
89 </target> |
|
90 |
|
91 <property name="assemble.org.eclipse.pde.build.container.feature.solaris.gtk.sparc" value="true" /> |
|
92 <target name="assemble.org.eclipse.pde.build.container.feature.solaris.gtk.sparc"> |
|
93 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
94 <property name="archiveName" value="${archiveNamePrefix}-solaris.gtk.sparc.zip"/> |
|
95 </ant> |
|
96 </target> |
|
97 |
|
98 <property name="assemble.org.eclipse.pde.build.container.feature.aix.motif.ppc" value="true" /> |
|
99 <target name="assemble.org.eclipse.pde.build.container.feature.aix.motif.ppc"> |
|
100 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
101 <property name="archiveName" value="${archiveNamePrefix}-aix.motif.ppc.zip"/> |
|
102 </ant> |
|
103 </target> |
|
104 |
|
105 <property name="assemble.org.eclipse.pde.build.container.feature.hpux.motif.PA_RISC" value="true" /> |
|
106 <target name="assemble.org.eclipse.pde.build.container.feature.hpux.motif.PA_RISC"> |
|
107 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
108 <property name="archiveName" value="${archiveNamePrefix}-hpux.motif.PA_RISC.zip"/> |
|
109 </ant> |
|
110 </target> |
|
111 |
|
112 <property name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.ppc" value="true" /> |
|
113 <target name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.ppc"> |
|
114 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
115 <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.ppc.zip"/> |
|
116 </ant> |
|
117 </target> |
|
118 |
|
119 <property name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.x86" value="true" /> |
|
120 <target name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.x86"> |
|
121 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
122 <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.x86.zip"/> |
|
123 </ant> |
|
124 </target> |
|
125 |
|
126 <property name="assemble.org.eclipse.pde.build.container.feature.group.group.group" value="true" /> |
|
127 <target name="assemble.org.eclipse.pde.build.container.feature.group.group.group"> |
|
128 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> |
|
129 <property name="archiveName" value="${archiveNamePrefix}-group.zip"/> |
|
130 </ant> |
|
131 </target> |
|
132 </project> |