if (org != null  && module != null) { return; }
    protected void ensureResolved(boolean haltOnFailure) {        ensureMessageInitialised();        Object reference = getProject().getReference("ivy.resolved.descriptor");        if (reference == null) {            Message.verbose("no resolved descriptor found: launching default resolve");            IvyResolve resolve = new IvyResolve();            resolve.setProject(getProject());            resolve.setHaltonfailure(haltOnFailure);            if (_validate != null) {                resolve.setValidate(_validate.booleanValue());            }            resolve.execute();        }     }