for (Enumeration e = props.propertyNames(); e.hasMoreElements();) {
for (Enumeration e = System.getProperties().propertyNames(); e.hasMoreElements();) {
    private void loadSystemProperties(AntProperties props) {        for (Enumeration e = props.propertyNames(); e.hasMoreElements();) {            String propName = (String) e.nextElement();            String systemPropValue = System.getProperty(propName);            if (systemPropValue != null) {                // AntProperties.setProperty doesn't let you override, so we                // have to remove the property then add it again                props.remove(propName);                props.setProperty(propName, systemPropValue);            }        }    }