|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Ant
org.objectweb.util.ant.MultipleAnt
This task calls all xml files into the specified Dir
Nested Class Summary |
Nested classes inherited from class org.apache.tools.ant.taskdefs.Ant |
org.apache.tools.ant.taskdefs.Ant.Reference, org.apache.tools.ant.taskdefs.Ant.TargetElement |
Field Summary | |
protected java.lang.String |
antFile
|
protected java.io.File |
directory
|
protected org.apache.tools.ant.types.FileSet |
fileset
|
protected java.lang.String |
target
|
protected boolean |
useDefaultExcludes
|
Fields inherited from class org.apache.tools.ant.Task |
description, location, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
MultipleAnt()
|
Method Summary | |
boolean |
accept(java.io.File dir,
java.lang.String name)
This method is used to chack if a file is a xml file. |
org.apache.tools.ant.types.PatternSet.NameEntry |
createExclude()
add a name entry on the exclude list |
org.apache.tools.ant.types.PatternSet.NameEntry |
createExcludesFile()
add a name entry on the include files list |
org.apache.tools.ant.types.PatternSet.NameEntry |
createInclude()
add a name entry on the include list |
org.apache.tools.ant.types.PatternSet.NameEntry |
createIncludesFile()
add a name entry on the include files list |
org.apache.tools.ant.types.PatternSet |
createPatternSet()
add a set of patterns |
void |
execute()
Search all files in the directory. |
protected org.apache.tools.ant.DirectoryScanner |
getDirectoryScanner(java.io.File baseDir)
Returns the directory scanner needed to access the files to process. |
void |
setAntFile(java.lang.String f)
|
void |
setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not. |
void |
setDir(java.io.File d)
Set the directory where find xml file(s). |
void |
setExcludes(java.lang.String excludes)
Sets the set of exclude patterns. |
void |
setExcludesfile(java.io.File excludesfile)
Sets the name of the file containing the includes patterns. |
void |
setIncludes(java.lang.String includes)
Sets the set of include patterns. |
void |
setIncludesfile(java.io.File includesfile)
Sets the name of the file containing the includes patterns. |
void |
setTarget(java.lang.String t)
|
Methods inherited from class org.apache.tools.ant.taskdefs.Ant |
addConfiguredTarget, addPropertyset, addReference, createProperty, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, setAntfile, setInheritAll, setInheritRefs, setOutput |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.File directory
protected java.lang.String antFile
protected java.lang.String target
protected boolean useDefaultExcludes
protected org.apache.tools.ant.types.FileSet fileset
Constructor Detail |
public MultipleAnt()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setDir(java.io.File d)
public void setAntFile(java.lang.String f)
public void setTarget(java.lang.String t)
public boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
public org.apache.tools.ant.types.PatternSet.NameEntry createInclude()
public org.apache.tools.ant.types.PatternSet.NameEntry createIncludesFile()
public org.apache.tools.ant.types.PatternSet.NameEntry createExclude()
public org.apache.tools.ant.types.PatternSet.NameEntry createExcludesFile()
public org.apache.tools.ant.types.PatternSet createPatternSet()
public void setIncludes(java.lang.String includes)
includes
- the string containing the include patternspublic void setExcludes(java.lang.String excludes)
excludes
- the string containing the exclude patternspublic void setDefaultexcludes(boolean useDefaultExcludes)
useDefaultExcludes
- "true"|"on"|"yes" when default exclusions should be used,
"false"|"off"|"no" when they shouldn't be used.protected org.apache.tools.ant.DirectoryScanner getDirectoryScanner(java.io.File baseDir)
public void setIncludesfile(java.io.File includesfile)
includesfile
- A string containing the filename to fetch the include patterns
from.public void setExcludesfile(java.io.File excludesfile)
excludesfile
- A string containing the filename to fetch the include patterns
from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |