<mkdir>
Purpose/Function
Makes directories. One or more URIs can be added.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
cleanup |
|
true |
delete the cache(s) upon termination of the operation |
copyCache |
|
|
make the target directories in this cache |
copyCacheFile |
|
|
make the target directories in this cache |
includeAncestors |
|
true |
include all the ancestors of each URI |
listCache |
|
|
make the directories in this cache |
listCacheFile |
|
|
make the directories in this cache |
makeParent |
|
|
same as includeAncestors |
Listener control attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
event |
|
true |
if listener is a |
log4j |
|
false |
if listener is a |
stdout |
|
false |
if listener is a |
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:1 |
configuration with additional non-default settings |
|
|
0:N |
locations of directories to make |
Listener elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:N |
generic tag, must be used in conjunction with xmlns:absoluteTag namespace |
|
|
0:N |
built-in type; see listeners |
ReturnValues
DEFAULT NAME |
TYPE |
---|---|
mkdir |
|
NOTES
- For a given task, added URIs must all have the same scheme and endpoint.
- Cleanup defaults to true, so caches that are used will be deleted unless otherwise indicated. The operation is returned only if cleanup is false.
- It is possible to by-pass adding URIs by pointing the task at pre-existing caches, either as objects in the environment or as files.
- Any additional settings passed in using the configuration object will be added to the default settings (the latter must be explicitly overridden if they are not desired).
Examples
<ogrescript> <mkdir> <uri>file:/tmp/dir0</uri> <uri>file:/tmp/dir0/dir01</uri> <uri>file:/tmp/dir1/dir11</uri> </mkdir> ... </ogrescript>