<zzfind>
The execution of tests and actions stops when one of them evaluates to false
, i.e. they are implicitly
AND-related.
To use this task, add this to your ANT build script:
<taskdef
classpath="path/to/zz-find-x.y.z-jar-with-dependencies.jar"
resource="antlib.xml"
/>
Name | Description |
---|---|
descendantsFirst="..."
|
Whether to process each directory's contents before the directory itself, and each archive's entries before the archive itself, and each compressed contents before the enclosing file or archive entry. |
dir="..."
|
Also examine the given directory. |
file="..."
|
Also examine the given file. |
lookInto="..."
|
Archive files, nested archives, compressed files and nested compressed content are introspected iff the archive/compression format and the file's (resp. nested archive entry's) path match the given globs. |
maxDepth="..."
|
Descend at most levels of directories below the top level files and directories. |
minDepth="..."
|
Do not apply any tests or actions at levels less than levels. |
outputFile="..."
|
Print the output to the given file instead of STDOUT. |
Name | Description |
---|---|
<sequential>
|
The subtasks of this element will be executed for each directory, file and archive entry. |
Any Any FIND expression | Another expression that will be evaluated for each directory, file and archive entry. |
Any Any resource collection | Resources to examine. |
Default values are underlined.
lookInto="format-glob:path-glob"
The default is to look into any recognized archive and comressed content.
descendantsFirst="true|false"
minDepth="levels|0"
maxDepth="levels"
file="file"
dir="..."
Any Resource collection
dir="directory"
file="..."
Any Resource collection
<sequential>
true
iff all subtasks complete successfully.
file="..."
dir="..."
Copyright © 2022 Arno Unkrig. All rights reserved.