incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1373015 - /incubator/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/ConfigureBuildScopedRepository.java
Date Tue, 14 Aug 2012 18:40:27 GMT
Author: jlboudart
Date: Tue Aug 14 18:40:26 2012
New Revision: 1373015

URL: http://svn.apache.org/viewvc?rev=1373015&view=rev
Log:
ConfigureBuildScopedRepository should work better if we register resolver in dictator mode
:)

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=1373015&r1=1373014&r2=1373015&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
Tue Aug 14 18:40:26 2012
@@ -184,10 +184,11 @@ public class ConfigureBuildScopedReposit
             resolver.add(dr);
             dr.setName("delegate." + dr.getName()); // give old default a new name
 
-            settings.addResolver(buildRepository);
             settings.addResolver(dr);
             settings.addResolver(resolver);
         }
+        settings.addResolver(buildRepository);
+        
         getProject().setProperty(getProjectBuildScopeRepositoryName(getProject()), buildRepository.getName());
 
     }



Mime
View raw message