add To Ant Builder
Adds this collection to an Ant task as a nested node. The given type determines how this collection is added:
- MatchingTask: adds this collection to an Ant MatchingTask. The collection is converted to a set of source directories and include and exclude patterns. The source directories as added as an Ant Path with the given node name. The patterns are added using 'include' and 'exclude' nodes.
- FileSet: adds this collection as zero or more Ant FileSets with the given node name.
- ResourceCollection: adds this collection as zero or more Ant ResourceCollections with the given node name.
Parameters
builder
The builder to add this collection to.
node Name
The target node name.
type
The target Ant type
Adds this collection to an Ant task as a nested node. Equivalent to calling addToAntBuilder(builder,
nodeName,AntType.ResourceCollection)
.