org.apache.tools.ant.taskdefs

Class DefaultExcludes

public class DefaultExcludes extends Task

Alters the default excludes for the entire build..

Since: Ant 1.6

UNKNOWN: category="utility"

Method Summary
voidexecute()
Does the work.
voidsetAdd(String add)
Pattern to add to the default excludes
voidsetDefault(boolean def)
go back to standard default patterns
voidsetEcho(boolean echo)
If true, echo the default excludes.
voidsetRemove(String remove)
Pattern to remove from the default excludes.

Method Detail

execute

public void execute()
Does the work.

Throws: BuildException if something goes wrong with the build

setAdd

public void setAdd(String add)
Pattern to add to the default excludes

Parameters: add Sets the value for the pattern to exclude.

setDefault

public void setDefault(boolean def)
go back to standard default patterns

Parameters: def if true go back to default patterns

setEcho

public void setEcho(boolean echo)
If true, echo the default excludes.

Parameters: echo whether or not to echo the contents of the default excludes.

setRemove

public void setRemove(String remove)
Pattern to remove from the default excludes.

Parameters: remove Sets the value for the pattern that should no longer be excluded.