src/java/fr/jayasoft/ivy/Ivy.java
/**
     * Resolve dependencies of a module described by an ivy file.
     * 
     * Note: the method signature is way too long, we should use a class to store the settings of the resolve.
     */
Resolve dependencies of a module described by an ivy file.

the method signature is way too long, we should use a class to store the settings of the resolve.
Resolve dependencies of a module described by an ivy file . the method signature is way too long we should use a class to store the settings of the resolve .
public ResolveReport resolve(URL ivySource, String revision, String[] confs, File cache, Date date, boolean validate, boolean useCacheOnly, boolean transitive, boolean useOrigin, Filter artifactFilter) throws ParseException, IOException {
        IvyContext.getContext().setIvy(this);
        IvyContext.getContext().setCache(cache);
        URLResource res = new URLResource(ivySource);
        ModuleDescriptorParser parser = ModuleDescriptorParserRegistry.getInstance().getParser(res);
        Message.verbose("using "+parser+" to parse "+ivySource);
        ModuleDescriptor md = parser.parseDescriptor(this, ivySource, validate);
        if (revision == null && md.getResolvedModuleRevisionId().getRevision() == null) {
            revision = "working@"+getLocalHostName();
        }
        if (revision != null) {
            md.setResolvedModuleRevisionId(ModuleRevisionId.newInstance(md.getModuleRevisionId(), revision));
        }
        return resolve(md, confs, cache, date, validate, useCacheOnly, transitive, useOrigin, true, true, artifactFilter);
    }
public ResolveReport resolve ( URL ivySource , String revision , String [ ] confs , File cache , Date date , boolean validate , boolean useCacheOnly , boolean transitive , boolean useOrigin , Filter artifactFilter ) throws ParseException , IOException { IvyContext . getContext ( ) . setIvy ( this ) ; IvyContext . getContext ( ) . setCache ( cache ) ; URLResource res = new URLResource ( ivySource ) ; ModuleDescriptorParser parser = ModuleDescriptorParserRegistry . getInstance ( ) . getParser ( res ) ; Message . verbose ( "using " + parser + " to parse " + ivySource ) ; ModuleDescriptor md = parser . parseDescriptor ( this , ivySource , validate ) ; if ( revision == null && md . getResolvedModuleRevisionId ( ) . getRevision ( ) == null ) { revision = "working@" + getLocalHostName ( ) ; } if ( revision != null ) { md . setResolvedModuleRevisionId ( ModuleRevisionId . newInstance ( md . getModuleRevisionId ( ) , revision ) ) ; } return resolve ( md , confs , cache , date , validate , useCacheOnly , transitive , useOrigin , true , true , artifactFilter ) ; }
Resolve dependencies of a module described by an ivy file.
Resolve dependencies of a module described by an ivy file .