org.apache.tools.ant.taskdefs

Class DefaultExcludes


public class DefaultExcludes
extends Task

Alters the default excludes for the entire build..
Since:
Ant 1.6

Field Summary

Fields inherited from class org.apache.tools.ant.Task

description, location, target, taskName, taskType, wrapper

Fields inherited from class org.apache.tools.ant.ProjectComponent

project

Method Summary

void
execute()
Does the work.
void
setAdd(String add)
Pattern to add to the default excludes
void
setDefault(boolean def)
go back to standard default patterns
void
setEcho(boolean echo)
If true, echo the default excludes.
void
setRemove(String remove)
Pattern to remove from the default excludes.

Methods inherited from class org.apache.tools.ant.Task

execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

Methods inherited from class org.apache.tools.ant.ProjectComponent

getProject, log, log, setProject

Method Details

execute

public void execute()
            throws BuildException
Does the work.
Overrides:
execute in interface Task
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.

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.