ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1378176 - /ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ResolveReport.java
Date Tue, 28 Aug 2012 15:31:48 GMT
Author: hibou
Date: Tue Aug 28 15:31:48 2012
New Revision: 1378176

URL: http://svn.apache.org/viewvc?rev=1378176&view=rev
Log:
Do not copy the configuration as is, the configurations are already "extended"

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ResolveReport.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ResolveReport.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ResolveReport.java?rev=1378176&r1=1378175&r2=1378176&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ResolveReport.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ResolveReport.java Tue Aug 28 15:31:48
2012
@@ -339,8 +339,7 @@ public class ResolveReport {
         // copy configurations
         String[] resolvedConf = getConfigurations();
         for (int i = 0; i < resolvedConf.length; i++) {
-            Configuration conf = md.getConfiguration(resolvedConf[i]);
-            fixedmd.addConfiguration(conf);
+            fixedmd.addConfiguration(new Configuration(resolvedConf[i]));
         }
 
         // get dependencies



Mime
View raw message