builder/component/allElements.xml (15 lines of code) (raw):

<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="allElements Delegator"> <!-- ===================================================================== --> <!-- Run a given ${target} on all elements being built --> <!-- Replace element.id with the id of the top level element being built. --> <!-- If element.id does not exist in ${buildDirectory}/features/element.id --> <!-- or ${baseLocation}/features/element.id, then you must provide the --> <!-- location by setting the property "pluginPath" --> <!-- Add on <ant> task for each top level element being built. --> <!-- ===================================================================== --> <target name="allElementsDelegator"> <ant antfile="${genericTargets}" target="${target}"> <property name="type" value="feature" /> <property name="id" value="org.apache.ivyde.feature" /> </ant> <ant antfile="${genericTargets}" target="${target}"> <property name="type" value="feature" /> <property name="id" value="org.apache.ivyde.eclipse.resolvevisualizer.feature" /> </ant> </target> <!-- ===================================================================== --> <!-- Targets to assemble the built elements for particular configurations --> <!-- These generally call the generated assemble scripts (named in --> <!-- ${assembleScriptName}) but may also add pre and post processing --> <!-- Add one target for each root element and each configuration --> <!-- Replace element.id with the id of the top level element being built --> <!-- ===================================================================== --> <target name="assemble.element.id[.config.spec]"> <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> </target> </project>