Package org.apache.tools.ant.taskdefs
Class Mkdir
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Mkdir
- All Implemented Interfaces:
- Cloneable
Creates a given directory.
 Creates a directory and any non-existent parent directories, when
 necessary
- Since:
- Ant 1.1
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
Mkdirpublic Mkdir()
 
- 
- 
Method Details- 
executecreate the directory and all parents- Overrides:
- executein class- Task
- Throws:
- BuildException- if dir is somehow invalid, or creation failed.
 
- 
setDirthe directory to create; required.- Parameters:
- dir- the directory to be made.
 
- 
getDirGet the directory to create.- Returns:
- File
 
 
-