public void setLocal ( final File value ) { if ( value == null ) { throw new NullPointerException ( "value" ) ; } if ( value . exists ( ) && ! value . isDirectory ( ) ) { throw new BuildException ( "local should be a directory" ) ; } this . localName = value ; try { this . canonicalPath = this . localName . getCanonicalPath ( ) ; } catch ( final IOException ex ) { throw new BuildException ( ex ) ; } }
Sets local directory for base of mapping .