org.objectweb.util.ant
public class MultipleAnt extends Ant implements FilenameFilter
Field Summary | |
---|---|
protected String | antFile |
protected File | directory |
protected FileSet | fileset |
protected String | target |
protected boolean | useDefaultExcludes |
Method Summary | |
---|---|
boolean | accept(File dir, String name)
This method is used to chack if a file is a xml file. |
NameEntry | createExclude()
add a name entry on the exclude list |
NameEntry | createExcludesFile()
add a name entry on the include files list |
NameEntry | createInclude()
add a name entry on the include list |
NameEntry | createIncludesFile()
add a name entry on the include files list |
PatternSet | createPatternSet()
add a set of patterns |
void | execute()
Search all files in the directory. |
protected DirectoryScanner | getDirectoryScanner(File baseDir)
Returns the directory scanner needed to access the files to process. |
void | setAntFile(String f) |
void | setDefaultexcludes(boolean useDefaultExcludes)
Sets whether default exclusions should be used or not.
|
void | setDir(File d)
Set the directory where find xml file(s). |
void | setExcludes(String excludes)
Sets the set of exclude patterns. |
void | setExcludesfile(File excludesfile)
Sets the name of the file containing the includes patterns.
|
void | setIncludes(String includes)
Sets the set of include patterns. |
void | setIncludesfile(File includesfile)
Sets the name of the file containing the includes patterns.
|
void | setTarget(String t) |
Parameters: useDefaultExcludes "true"|"on"|"yes" when default exclusions should be used, "false"|"off"|"no" when they shouldn't be used.
Parameters: excludes the string containing the exclude patterns
Parameters: excludesfile A string containing the filename to fetch the include patterns from.
Parameters: includes the string containing the include patterns
Parameters: includesfile A string containing the filename to fetch the include patterns from.