1 <!-- ========================================================================= --> 2 <!-- Feature build ant targets --> 3 <!-- Template obtained from org.eclipse.pde.build/templates/headless-build --> 4 <!-- ========================================================================= --> 5 <project name="allElements Delegator"> 6 7 <!-- ===================================================================== --> 8 <!-- Run a given ${target} on all elements being built --> 9 <!-- Replace element.id with the id of the top level element being built. --> 10 <!-- If element.id does not exist in ${buildDirectory}/features/element.id --> 11 <!-- or ${baseLocation}/features/element.id, then you must provide the --> 12 <!-- location by setting the property "pluginPath" --> 13 <!-- Add on <ant> task for each top level element being built. --> 14 <!-- ===================================================================== --> 15 <target name="allElementsDelegator"> 16 17 <ant antfile="${genericTargets}" target="${target}"> 18 <property name="type" value="feature" /> 19 <property name="id" value="com.android.ide.eclipse.ddms" /> 20 </ant> 21 22 <ant antfile="${genericTargets}" target="${target}"> 23 <property name="type" value="feature" /> 24 <property name="id" value="com.android.ide.eclipse.adt" /> 25 </ant> 26 27 <antcall target="buildInternalFeatures"/> 28 29 </target> 30 31 <!-- ===================================================================== --> 32 <!-- Conditional target for building the internal features --> 33 <!-- Builds if property internalSite is set --> 34 <!-- ===================================================================== --> 35 <target name="buildInternalFeatures" if="internalSite"> 36 <ant antfile="${genericTargets}" target="${target}"> 37 <property name="type" value="feature" /> 38 <property name="id" value="com.android.ide.eclipse.tests" /> 39 </ant> 40 </target> 41 42 <!-- ===================================================================== --> 43 <!-- Targets to assemble the built elements for particular configurations --> 44 <!-- These generally call the generated assemble scripts (named in --> 45 <!-- ${assembleScriptName}) but may also add pre and post processing --> 46 <!-- Add one target for each root element and each configuration --> 47 <!-- Replace element.id with the id of the top level element being built --> 48 <!-- ===================================================================== --> 49 <target name="assemble.com.android.ide.eclipse.adt"> 50 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 51 </target> 52 53 <target name="assemble.com.android.ide.eclipse.ddms"> 54 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 55 </target> 56 57 <target name="assemble.com.android.ide.eclipse.tests"> 58 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 59 </target> 60 </project> 61