## MultipleAnt

### Description

This task is an extention of the ant task. It permits to invoke several build.xml file in a same time. This task supports include and exclude node based on the

The task class is MultipleAnt.

### Parameters

Attribute | Description | Required
dir | The root location used for include and exclude condition. | Yes
antfile | the buildfile to use. Defaults to "build.xml". This file is expected to be a filename relative to the dir attribute given. | No
target | The name of the target to execute in found ant files. If no target is specified the default target of the ant file is run. | No

### Parameters specified as nested elements

### Examples

This first example calls default target of all ant files found in the directory 'foo':

    <taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar">
    ...
    <multipleant dir="foo"/>

This second example calls default target of ant files found in the directory 'foo' and which the name starts with 'ow_myproject':

    <taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar">
    ...
    <multipleant dir="foo"/> includes="**/ow_myproject*"

This third example calls the target 'test1' of ant files found in the directory 'foo'':

    <taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar">
    ...
    <multipleant dir="foo"/> target="test1"

When an ant file does not contains the specified target no error is generated. If no ant file contains the target, then a warning message is printed

Copyright © 2000-2005 France Telecom. All rights Reserved.