<print-cache>
Purpose/Function
Prints out contents of a Trebuchet cache. Requires a cache reference from the environment.
Printing can be to stdout, log4j or to a file.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
cache |
|
(required) |
cache whose contents is to be printed |
file |
|
|
file path to write to |
full |
|
false |
print full line (default is an abbreviated form of the line) |
stdout |
|
true |
if there is no file, print to stdout; if false, uses the log4j logger |
Elements
None.
ReturnValues
None.
NOTES
Examples
<ogrescript> ... <declare name="cache"/> <ls dir="file:/tmp/dir0"> <return-value assignedName="cache" defaultName="listCache"/> </ls> <print-cache cache="${cache}"/> ... </ogrescript>