You are viewing a plain text version of this content. The canonical link for it is here.
Posted to easyant-commits@incubator.apache.org by jl...@apache.org on 2012/10/18 19:59:01 UTC

svn commit: r1399821 - /incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java

Author: jlboudart
Date: Thu Oct 18 19:59:00 2012
New Revision: 1399821

URL: http://svn.apache.org/viewvc?rev=1399821&view=rev
Log:
Use EasyAntRepositoryCacheManager in place of default one in build scope repository

Modified:
    incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java

Modified: incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java?rev=1399821&r1=1399820&r2=1399821&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java (original)
+++ incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java Thu Oct 18 19:59:00 2012
@@ -22,7 +22,7 @@ import java.io.File;
 import org.apache.easyant.core.EasyAntMagicNames;
 import org.apache.easyant.core.ivy.IvyInstanceHelper;
 import org.apache.ivy.ant.IvyTask;
-import org.apache.ivy.core.cache.DefaultRepositoryCacheManager;
+import org.apache.ivy.core.cache.EasyAntRepositoryCacheManager;
 import org.apache.ivy.core.settings.IvySettings;
 import org.apache.ivy.plugins.resolver.ChainResolver;
 import org.apache.ivy.plugins.resolver.DependencyResolver;
@@ -70,7 +70,7 @@ public class ConfigureBuildScopedReposit
 
         // Create a cache for build scoped repository
         File cacheDir = new File(DEFAULT_CACHE_BUILD_SCOPED_REPO);
-        DefaultRepositoryCacheManager rcm = new DefaultRepositoryCacheManager(CACHENAME, settings, cacheDir);
+        EasyAntRepositoryCacheManager rcm = new EasyAntRepositoryCacheManager(CACHENAME, settings, cacheDir);
         rcm.setUseOrigin(true); // no need to copy temporary build artifacts
                                 // into temporary cache.
         // Register the repository cache
@@ -119,7 +119,7 @@ public class ConfigureBuildScopedReposit
     private String buildDefaultRepositoryName() {
         return "build." + IvyInstanceHelper.getProjectIvyInstanceName(getProject());
     }
-    
+
     /**
      * Get the target directory where both build scoped repository and cache will be instanciated
      *