allElements.xml 2.8 KB

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