B.12 DefaultExcludes

Alters the default excludes for all subsequent processing in the build, and prints out the current default excludes if desired.

Table B.14: Attributes

NameTypeDescriptionDefaultRequired
echoBooleanwhether or not to print out the default excludes.falseattribute "true" required if no other attribute specified
defaultBooleango back to hard wired default excludesn/aattribute "true" required if no other attribute specified
addStringthe pattern to add to the default excludesn/aif no other attribute is specified
removeStringremove the specified pattern from the default excludesn/aif no other attribute is specified

B.12.1 Examples

Print out the default excludes

<defaultexcludes echo="true"/>

Print out the default excludes and exclude all *.bak files in all further processing

<defaultexcludes echo="true" add="**/*.bak"/>

Silently allow several fileset based tasks to operate on emacs backup files and then restore normal behavior

<defaultexcludes remove="**/*~"/>

                (do several fileset based tasks here)

                <defaultexcludes default="true"/>