ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1297884 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/core/resolve/IvyNode.java
Date Wed, 07 Mar 2012 08:43:59 GMT
Author: maartenc
Date: Wed Mar  7 08:43:59 2012
New Revision: 1297884

URL: http://svn.apache.org/viewvc?rev=1297884&view=rev
Log:
FIX: fallback mechanism didn't work properly for private configurations

Modified:
    ant/ivy/core/trunk/CHANGES.txt
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=1297884&r1=1297883&r2=1297884&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed Mar  7 08:43:59 2012
@@ -141,6 +141,7 @@ for detailed view of each issue, please 
 - IMPROVEMENT: ivy:retrieve can now convert 'dotted'-organisation names into a directory
tree.
 - IMPROVEMENT: ivy:retrieve now accepts a nested mapper type.
 
+- FIX: fallback mechanism didn't work properly for private configurations
 - FIX: /localivy target does not work when building Ivy jar (IVY-1338) (thanks to Ben Schmidt)
 - FIX: The showprogress=false attribute of ivy:resolve doesn't do what it should (IVY-1052)
(thanks to Joseph Boyd)
 - FIX: extends ignores defaultconfmapping/defaultconf/confmappingoverride attributes from
parent's configurations and dependencies tags (IVY-1213)

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java?rev=1297884&r1=1297883&r2=1297884&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java Wed Mar  7 08:43:59
2012
@@ -634,7 +634,7 @@ public class IvyNode implements Comparab
         }
         String defaultConf = getDefaultConf(conf);
         conf = getMainConf(conf);
-        if (md.getConfiguration(conf) == null) {
+        if ((md.getConfiguration(conf) == null) || Configuration.Visibility.PRIVATE.equals(md.getConfiguration(conf).getVisibility()))
{
             if ("".equals(defaultConf)) {
                 return new String[0];
             }



Mime
View raw message