You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by xa...@apache.org on 2008/01/04 10:47:11 UTC

svn commit: r608781 - in /ant/ivy/core/trunk: src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java test/java/org/apache/ivy/core/settings/ivysettings-cache.xml

Author: xavier
Date: Fri Jan  4 01:47:10 2008
New Revision: 608781

URL: http://svn.apache.org/viewvc?rev=608781&view=rev
Log:
rename 'lock' to 'lockStrategy' on cache element in settings

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java
    ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ivysettings-cache.xml

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java?rev=608781&r1=608780&r2=608781&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultRepositoryCacheManager.java Fri Jan  4 01:47:10 2008
@@ -447,7 +447,7 @@
         this.lockStrategy = lockStrategy;
     }
     
-    public void setLock(String lockStrategyName) {
+    public void setLockStrategy(String lockStrategyName) {
         this.lockStrategyName = lockStrategyName;
     }
     

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ivysettings-cache.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ivysettings-cache.xml?rev=608781&r1=608780&r2=608781&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ivysettings-cache.xml (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/ivysettings-cache.xml Fri Jan  4 01:47:10 2008
@@ -30,7 +30,7 @@
 				basedir="mycache"
 				ivyPattern="[module]/ivy-[revision].xml" 
 				artifactPattern="[module]/[artifact]-[revision].[ext]"
-				lock="no-lock"
+				lockStrategy="no-lock"
 		/>
 		<cache name="mycache2" />
 	</caches>