forrestPropertiesStringURI = projectHome + SystemUtils.FILE_SEPARATOR + "forrest.properties"; filteringProperties = loadAntPropertiesFromURI(filteringProperties, forrestPropertiesStringURI);   String defaultForrestPropertiesStringURI = contextHome + SystemUtils.FILE_SEPARATOR + "default-forrest.properties"; filteringProperties = loadAntPropertiesFromURI(filteringProperties, defaultForrestPropertiesStringURI);
    public void initialize() throws Exception {        // add all homes important to forrest to the properties        setHomes();        loadSystemProperties(filteringProperties);        // NOTE: the first values set get precedence, as in AntProperties        String forrestPropertiesStringURI;        try {            // get the values from local.forrest.properties.xml            forrestPropertiesStringURI = projectHome                    + SystemUtils.FILE_SEPARATOR                    + "local.forrest.properties.xml";            filteringProperties = loadXMLPropertiesFromURI(filteringProperties,                    forrestPropertiesStringURI);            // get the values from project forrest.properties.xml            forrestPropertiesStringURI = projectHome                    + SystemUtils.FILE_SEPARATOR + "forrest.properties.xml";            filteringProperties = loadXMLPropertiesFromURI(filteringProperties,                    forrestPropertiesStringURI);            // get the values from user forrest.properties.xml            String userHome = filteringProperties.getProperty("user.home");            if (userHome != null) {                forrestPropertiesStringURI = userHome                        + SystemUtils.FILE_SEPARATOR + "forrest.properties.xml";                filteringProperties = loadXMLPropertiesFromURI(                        filteringProperties, forrestPropertiesStringURI);            }            // get the values from global forrest.properties.xml            String globalHome = filteringProperties.getProperty("global.home");            if (globalHome != null) {                forrestPropertiesStringURI = globalHome                        + SystemUtils.FILE_SEPARATOR + "forrest.properties.xml";                filteringProperties = loadXMLPropertiesFromURI(                        filteringProperties, forrestPropertiesStringURI);            }            // get the values from default.forrest.properties.xml            forrestPropertiesStringURI = contextHome                    + SystemUtils.FILE_SEPARATOR                    + "default.forrest.properties.xml";            filteringProperties = loadXMLPropertiesFromURI(filteringProperties,                    forrestPropertiesStringURI);            // Load plugin default properties            String strPluginList = filteringProperties                    .getProperty("project.required.plugins");            if (strPluginList != null) {                StringTokenizer st = new StringTokenizer(strPluginList, ",");                while (st.hasMoreTokens()) {                    forrestPropertiesStringURI = ForrestConfUtils                            .getPluginDir(st.nextToken().trim());                    forrestPropertiesStringURI = forrestPropertiesStringURI                            + SystemUtils.FILE_SEPARATOR                            + "default.plugin.properties.xml";                    filteringProperties = loadXMLPropertiesFromURI(                            filteringProperties, forrestPropertiesStringURI);                }            }        } finally {            ForrestConfUtils.aliasSkinProperties(filteringProperties);            if (debugging())                debug("Loaded project properties:" + filteringProperties);        }    }