Package org.apache.ivy.core.cache

Examples of org.apache.ivy.core.cache.EasyantResolutionCacheManager$MapURLResolver


        // FIXME: hack as ResolutionCacheManager use XmlModuleDescriptorParser under the hood
        EasyAntRepositoryCacheManager cacheManager = new EasyAntRepositoryCacheManager("default-project-cache",
                getProjectIvyInstance().getSettings(), getProjectIvyInstance().getSettings().getDefaultCache());
        getProjectIvyInstance().getSettings().setDefaultRepositoryCacheManager(cacheManager);

        EasyantResolutionCacheManager resolutionCacheManager = new EasyantResolutionCacheManager();
        resolutionCacheManager.setBasedir(getProjectIvyInstance().getSettings().getDefaultResolutionCacheBasedir());
        resolutionCacheManager.setSettings(getProjectIvyInstance().getSettings());
        getProjectIvyInstance().getSettings().setResolutionCacheManager(resolutionCacheManager);

    }
View Full Code Here


        EasyAntRepositoryCacheManager cacheManager = new EasyAntRepositoryCacheManager("default-easyant-cache",
                easyantIvyInstance.getSettings(), easyantIvyInstance.getSettings().getDefaultCache());
        easyantIvyInstance.getSettings().setDefaultRepositoryCacheManager(cacheManager);

        EasyantResolutionCacheManager resolutionCacheManager = new EasyantResolutionCacheManager();
        resolutionCacheManager.setBasedir(easyantIvyInstance.getSettings().getDefaultResolutionCacheBasedir());
        resolutionCacheManager.setSettings(easyantIvyInstance.getSettings());
        easyantIvyInstance.getSettings().setResolutionCacheManager(resolutionCacheManager);

        return easyantIvySettings;
    }
View Full Code Here

TOP

Related Classes of org.apache.ivy.core.cache.EasyantResolutionCacheManager$MapURLResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.