@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());
                }
        }
@ Override public void setDirectory ( File dir ) { if ( dir == null ) { throw new BuildException ( "Cannot set null directory attribute." ) ; } if ( this . directory == null ) { this . directory = new File ( dir . getAbsolutePath ( ) ) ; } }
Sets the Git repository directory

@antdoc.notrequired
@param dir The repository directory