code: @Override
          public void setDirectory(File dir) {
                  if (dir == null) {
                          throw new BuildException("Cannot set null directory attribute.");
                  }
  
                  // no override
                  if (this.directory == null) {
                          this.directory = new File(dir.getAbsolutePath());
                  }
          }
docs: Sets the Git repository directory
  
  @antdoc.notrequired
  @param dir The repository directory