HashMap map = FileUtil.readPropertiesFile( file, getDelimiter() );
Preprocessor preprocessor = (Preprocessor) environment.get( Preprocessor.ENVIRONMENT_KEY ); String[] lines = FileUtil.readTextFile( file ); boolean removePreprocessingComments = true; lines = preprocessor.preprocess( file.getAbsolutePath(), new StringList( lines ), removePreprocessingComments ); Map map = StringUtil.getProperties( lines, getDelimiter() );
	public Variable[] loadVariables(Environment environment, Project antProject ) {		File file = getFile( environment, antProject );		if (!file.exists()) {			System.err.println( getFileNotFoundWarning( file )  );			return new Variable[0];		}		try {			HashMap map = FileUtil.readPropertiesFile( file, getDelimiter() );			Object[] keys = map.keySet().toArray();			Variable[] variables = createArray( keys.length );			for (int i = 0; i < variables.length; i++) {				String key = (String) keys[i];				variables[i] = createVariable( key, (String) map.get( key ) );			}			return variables;		} catch (IOException e) {			e.printStackTrace();			throw new BuildException( getFileIOError(file, e), e );		}	}