Class Mkdir

All Implemented Interfaces:
Cloneable

public class Mkdir extends Task
Creates a given directory. Creates a directory and any non-existent parent directories, when necessary
Since:
Ant 1.1
  • Constructor Details

    • Mkdir

      public Mkdir()
  • Method Details

    • execute

      public void execute() throws BuildException
      create the directory and all parents
      Overrides:
      execute in class Task
      Throws:
      BuildException - if dir is somehow invalid, or creation failed.
    • setDir

      public void setDir(File dir)
      the directory to create; required.
      Parameters:
      dir - the directory to be made.
    • getDir

      public File getDir()
      Get the directory to create.
      Returns:
      File