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.hierarchyviewer" /> 25 </ant> 26 27 <ant antfile="${genericTargets}" target="${target}"> 28 <property name="type" value="feature" /> 29 <property name="id" value="com.android.ide.eclipse.adt" /> 30 </ant> 31 32 <ant antfile="${genericTargets}" target="${target}"> 33 <property name="type" value="feature" /> 34 <property name="id" value="com.android.ide.eclipse.traceview" /> 35 </ant> 36 37 <antcall target="buildInternalFeatures"/> 38 39 </target> 40 41 <!-- ===================================================================== --> 42 <!-- Conditional target for building the internal features --> 43 <!-- Builds if property internalSite is set --> 44 <!-- ===================================================================== --> 45 <target name="buildInternalFeatures" if="internalSite"> 46 <ant antfile="${genericTargets}" target="${target}"> 47 <property name="type" value="feature" /> 48 <property name="id" value="com.android.ide.eclipse.tests" /> 49 </ant> 50 51 <ant antfile="${genericTargets}" target="${target}"> 52 <property name="type" value="feature" /> 53 <property name="id" value="com.android.ide.eclipse.pdt" /> 54 </ant> 55 56 <ant antfile="${genericTargets}" target="${target}"> 57 <property name="type" value="feature" /> 58 <property name="id" value="com.android.ide.eclipse.gldebugger" /> 59 </ant> 60 </target> 61 62 <!-- ===================================================================== --> 63 <!-- Targets to assemble the built elements for particular configurations --> 64 <!-- These generally call the generated assemble scripts (named in --> 65 <!-- ${assembleScriptName}) but may also add pre and post processing --> 66 <!-- Add one target for each root element and each configuration --> 67 <!-- Replace element.id with the id of the top level element being built --> 68 <!-- ===================================================================== --> 69 <target name="assemble.com.android.ide.eclipse.adt"> 70 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 71 </target> 72 73 <target name="assemble.com.android.ide.eclipse.adt.overlay"> 74 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 75 </target> 76 77 <target name="assemble.com.android.ide.eclipse.ddms"> 78 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 79 </target> 80 81 <target name="assemble.com.android.ide.eclipse.tests"> 82 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 83 </target> 84 85 <target name="assemble.com.android.ide.eclipse.hierarchyviewer"> 86 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 87 </target> 88 89 <target name="assemble.com.android.ide.eclipse.pdt"> 90 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 91 </target> 92 93 <target name="assemble.com.android.ide.eclipse.traceview"> 94 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 95 </target> 96 97 <target name="assemble.com.android.ide.eclipse.gldebugger"> 98 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 99 </target> 100 </project> 101