[Index]
mkdir
Make a directory, including any necessary but
nonexistent parent directories. If there already exists a
file with specified name or the directory cannot be created then
an exception is flagged. If the directory exists alread it is left
intact.
Property Summary
dir |
The directory to create. |
name |
A name, can be any text. |
Example Summary
Example 1 |
Make a directory including missing parent directories. |
Property Detail
dir
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | Yes. |
The directory to create.
name
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
A name, can be any text.
Examples
Example 1
Make a directory including missing parent directories.
<oddjob id="this">
<job>
<mkdir dir="${this.args[0]}/a/b/c"/>
</job>
</oddjob>
(c) R Gordon Ltd 2005 - Present