public String getAbsolutePath ( String path ) { String p = path ; File f = new File ( p ) ; if ( ! f . isAbsolute ( ) ) { String basePath = FilenameUtils . getFullPath ( changeSet . getChangeLog ( ) . getPhysicalFilePath ( ) ) ; p = FilenameUtils . normalize ( basePath + p ) ; } return p ; }
Gets absolute and normalized path for path . If path is relative absolute path is calculated relative to change log file .