ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); if (_conf.equals("*")) { _conf = getProperty(ivy, "ivy.resolved.configurations"); } _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = ivy.getDefaultCache(); }  if (_organisation == null) { throw new BuildException("no organisation provided for ivy cachefileset: It can either be set explicitely via the attribute 'organisation' or via 'ivy.organisation' property or a prior call to <resolve/>"); } if (_module == null) { throw new BuildException("no module name provided for ivy cachefileset: It can either be set explicitely via the attribute 'module' or via 'ivy.module' property or a prior call to <resolve/>"); } _artifactFilter = FilterHelper.getArtifactTypeFilter(_type);
    protected List getPaths() throws BuildException, ParseException, IOException {        Ivy ivy = getIvyInstance();                ensureResolved(isHaltonfailure());        _conf = getProperty(_conf, ivy, "ivy.resolved.configurations");        if (_conf.equals("*")) {            _conf = getProperty(ivy, "ivy.resolved.configurations");        }        _organisation = getProperty(_organisation, ivy, "ivy.organisation");        _module = getProperty(_module, ivy, "ivy.module");        if (_cache == null) {            _cache = ivy.getDefaultCache();        }                if (_organisation == null) {            throw new BuildException("no organisation provided for ivy cachefileset: It can either be set explicitely via the attribute 'organisation' or via 'ivy.organisation' property or a prior call to <resolve/>");        }        if (_module == null) {            throw new BuildException("no module name provided for ivy cachefileset: It can either be set explicitely via the attribute 'module' or via 'ivy.module' property or a prior call to <resolve/>");        }        _artifactFilter = FilterHelper.getArtifactTypeFilter(_type);        XmlReportParser parser = new XmlReportParser();                String[] confs = splitConfs(_conf);        Collection all = new LinkedHashSet();        for (int i = 0; i < confs.length; i++) {            Artifact[] artifacts = parser.getArtifacts(new ModuleId(_organisation, _module), confs[i], _cache);            all.addAll(Arrays.asList(artifacts));        }        List paths = new ArrayList();        for (Iterator iter = all.iterator(); iter.hasNext();) {            Artifact artifact = (Artifact)iter.next();            if (_artifactFilter.accept(artifact)) {                paths.add(ivy.getArchivePathInCache(artifact));            }        }                return paths;    }