<zzgrep>
To use this task, add this to your ANT build script:
<taskdef
classpath="path/to/zz-grep-x.y.z-jar-with-dependencies.jar"
resource="antlib.xml"
/>
Name | Description |
---|---|
caseSensitive="..."
|
Whether the regex="..." should be applied case-sensitively.
|
disassembleClassFiles="..."
|
Whether to disassemble Java class files on-the-fly before matching its contents. |
disassembleClassFilesButHideLines="..."
|
Whether to hide source line numbers in the Java class file disassembly. |
disassembleClassFilesButHideVars="..."
|
Whether to remove local variable names from the Java class file disassembly. |
disassembleClassFilesSourceDirectory="..."
|
Where to look for source files when disassembling .class files; null disables source file loading.
|
disassembleClassFilesSymbolicLabels="..."
|
Whether to use numeric labels ('#123') or symbolic labels /'L12') in the bytecode disassembly. |
disassembleClassFilesVerbose="..."
|
Whether to include a constant pool dump, constant pool indexes, and hex dumps of all attributes in the disassembly output. |
encoding="..."
|
The charset to use when reading files and nested contents. |
file="..."
|
Another file that will be searched. |
inverted="..."
|
Whether matching lines should be treated as non-matching, and vice versa. |
lookInto="..."
|
Look into archive files, nested archives, compressed files and nested compressed contents iff "format:path" matches the given glob. |
name="..."
|
Deprecated.
Use path="..." instead |
operation="..."
|
|
path="..."
|
Search for matches only in files / entries who's path match the glob. |
property="..."
|
If set, then set the named property to "true" iff there is at least one match. |
regex="..."
|
The regular expression to match each line of input against. |
Name | Description |
---|---|
<search>
|
In addition to the search configured by name="..." , regex="..." and caseSensitive="..." attributes of the task (explained above), execute another search.
|
Any Any resource collection | Another set of files or directory trees to search. |
Default values are underlined.
lookInto="format-glob:path-glob"
The default is to look into any archive files, nested archives, compressed files and nested compressed contents.
encoding="charset"
Default is the "platform default encoding".
operation="NORMAL|COUNT|FILES_WITH_MATCHES|FILES_WITHOUT_MATCH|ONLY_MATCHING|QUIET"
disassembleClassFiles="true|false"
disassembleClassFilesVerbose="true|false"
disassembleClassFilesSourceDirectory="value"
null
disables source file loading. Source
file loading is disabled by default. disassembleClassFilesButHideLines="true|false"
disassembleClassFilesButHideVars="true|false"
disassembleClassFilesSymbolicLabels="true|false"
name="value"
path="..."
insteadcaseSensitive="true|false"
regex="..."
should be applied case-sensitively. <search>
name="..."
, regex="..."
and caseSensitive="..."
attributes of the task (explained above), execute another search.
name="value"
path="..."
insteadpath="glob"
regex="regex"
caseSensitive="true|false"
Copyright © 2022 Arno Unkrig. All rights reserved.