B.35 MkdirTask

Creates a directory, including any necessary but non-existent parent directories. Does nothing if the directory already exists.

Table B.37: Attributes

dir String The directory that is to be created.n/aYes
mode Integer The mode to create the directory with.From umaskNo

B.35.1 Examples

<!-- Create a temp directory -->
<mkdir dir="/tmp/foo" />

<!-- Using mkdir with a property -->
<mkdir dir="${dirs.install}/tmp" />