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