org.apache.tools.ant.taskdefs
Class Mkdir
Creates a given directory.
Creates a directory and any non-existent parent directories, when
necessary
- Ant 1.1
void | execute() - create the directory and all parents
|
void | setDir(File dir) - the directory to create; required.
|
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
execute
public void execute()
throws BuildException
create the directory and all parents
- execute in interface Task
BuildException
- if dir is somehow invalid, or creation failed.
setDir
public void setDir(File dir)
the directory to create; required.
dir
- the directory to be made.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.