Home | History | Annotate | Download | only in headless-build
      1 <project name="allElements Delegator">
      2 	<property name="defaultAssemblyEnabled" value="true" />
      3 	
      4  	<!-- ===================================================================== 	-->
      5  	<!-- Run a given ${target} on all elements being built						-->
      6  	<!-- By default ${topLevelElementType} and ${topLevelElementId} should be	--> 
      7  	<!-- defined in the builder's build.properties file.  You can customize by	--> 
      8  	<!-- setting the type/id values directly here.								-->
      9 	<!-- You can add additional calls to ${genericTargets} to build more top 	-->
     10 	<!-- level elements.									   					-->
     11 	<!--																		-->
     12 	<!-- The top level must exist in the ${buildDirectory}, ${baseLocation} or	-->
     13 	<!-- ${pluginPath} locations.												-->
     14  	<!-- ===================================================================== 	-->
     15  	<target name="allElementsDelegator">
     16  		<ant antfile="${genericTargets}" target="${target}">
     17 	 		<property name="type" value="${topLevelElementType}" />
     18 	 		<property name="id" value="${topLevelElementId}" />
     19  		</ant>
     20  	</target>
     21  
     22 	<!-- ====================================================================== -->
     23 	<!--  The default assemble target, this will be called to assemble each		-->	 
     24 	<!--  config if a custom assemble target is not defined.					-->
     25 	<!-- The following properties will be defined:								-->
     26 	<!-- 		config : The configuration being assembled eg "win32.win32.x86"	-->
     27 	<!-- 		element: The element being assembled eg "org.eclipse.sdk"		-->
     28 	<!-- 		assembleScriptName: The assemble script to be called			-->
     29 	<!-- ====================================================================== -->
     30 	<target name="defaultAssemble">
     31 		<ant antfile="${assembleScriptName}" dir="${buildDirectory}" />
     32 	</target>	
     33 	
     34  	<!-- =====================================================================	-->
     35  	<!-- Custom targets to assemble the built elements for particular 			-->
     36  	<!-- configurations.  These generally call the generated assemble scripts 	-->
     37  	<!-- (named in  ${assembleScriptName}) but may also add pre and post		--> 
     38  	<!-- processing      														-->
     39  	<!-- Add one target for each root element and each configuration for which	--> 
     40  	<!-- custom processing is desired. Replace element.id with the id of the 	-->
     41  	<!-- top level element being built.  A property with a matching name must 	-->
     42  	<!-- be defined for this custom target to be called instead of the 			-->
     43  	<!-- defaultAssemble target above.											-->
     44 	<!--	Example:  name="assemble.org.eclipse.sdk"							-->
     45 	<!--	Example:  name="assemble.org.eclipse.sdk.win32.win32.x86"			-->
     46  	<!-- ====================================================================== -->
     47 	<property name="assemble.element.id[.config.spec]" value="true" />
     48  	<target name="assemble.element.id[.config.spec]">
     49  		<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     50  	</target>
     51 	
     52 </project>
     53