mkdir

Description

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.

Properties

NameDescriptionRequired
name A name, can be any text. No.
dir The directory to create. Yes.

Example

 <oddjob id="this">
   <mkdir dir="${this.dir}/work/a/b/c"/>
 </oddjob>
 


(c) Rob Gordon 2005