<convert-cache>
Purpose/Function
Convert a List cache into a Copy cache. This is what ls-style Trebuchet operations do under the covers, but exposing this functionality at times may be useful. Requires references to both a List cache from a ls operation, plus an initialized Copy cache (with header in place). The latter will be fully populated after the task has completed.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
copyCache |
|
(required) |
copy cache (with header) to write to |
listCache |
|
(required) |
list cache to be used to create copy cache |
allowPatternDuplicates |
|
false |
allow duplicate entries |
flatten |
|
false |
flatten all paths into top level of target directory |
targetExists |
|
true |
assume target exists |
targetIsDirectory |
|
true |
target URI in cache header is a directory |
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:1 |
configuration to be used to initialize the converter |
ReturnValues
None.
NOTES
Examples
<ogrescript> ... <convert-cache listCache="${listCache}" copyCache="${copyCache}"/> ... </ogrescript>