log("Loading " + url, Project.MSG_VERBOSE);
Message.verbose("Loading " + url);
    private void loadDefaultProperties() {        Property prop = new Property() {            public void execute() throws BuildException {                URL url = Ivy.class.getResource("ivy.properties");                // this is copy of loadURL code from ant Property task  (not available in 1.5.1)                Properties props = new Properties();                log("Loading " + url, Project.MSG_VERBOSE);                try {                    InputStream is = url.openStream();                    try {                        props.load(is);                    } finally {                        if (is != null) {                            is.close();                        }                    }                    addProperties(props);                } catch (IOException ex) {                    throw new BuildException(ex, getLocation());                }            }        };        prop.setProject(getProject());        prop.execute();    }