Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

Apache Ant Mkdir Task

This task is used to create a directory. It creates a new directory if directory is not present. It does not create directory if directory is already present.

This task uses the following attributes.

Apache Ant Mkdir Task Attributes

Attribute Description Required
dir the directory to create. Yes

Apache Ant Mkdir Task Example

The above code will create a directory javatpoint in current project location.

Creating Nested Directory (Sub directory)

The above code will create a subdirectory java inside javatpoint directory.






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA