getProject().log(MESSAGE_LOADING_FILE + file, Project.MSG_VERBOSE);
    public Properties getProperties() {        Properties props = new Properties();        if(file==null) {            throw new BuildException(ERROR_NO_FILE_ATTRIBUTE);        }        if(!file.exists()) {            if(optional) {                return props;            } else {                throw new BuildException(ERROR_FILE_NOT_FOUND+file);            }        }        BufferedInputStream inStream = null;        try {            inStream=new BufferedInputStream(new FileInputStream(file));            props.load(inStream);        } catch (IOException e) {            throw new BuildException(ERROR_FILE_LOAD_FAILED+file,e);        } finally {            if(inStream!=null) {                try { inStream.close(); } catch (IOException e) { }            }        }        return props;    }