Creates a directory, including any necessary but non-existent parent directories. Does
nothing if the directory already exists.
Table B.37: Attributes
Name | Type | Description | Default | Required |
---|
dir | String | The directory that is to be created. | n/a | Yes |
mode | Integer | The mode to create the directory with. | From umask | No |
<!-- Create a temp directory -->
<mkdir dir="/tmp/foo" />
<!-- Using mkdir with a property -->
<mkdir dir="${dirs.install}/tmp" />