ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r751536 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/core/resolve/IvyNode.java
Date Sun, 08 Mar 2009 21:32:53 GMT
Author: xavier
Date: Sun Mar  8 21:32:52 2009
New Revision: 751536

URL: http://svn.apache.org/viewvc?rev=751536&view=rev
Log:
FIX: Error message: "impossible to get artifacts when data has not been loaded" , on certain
modules only (IVY-987) - no unit test :-(

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=751536&r1=751535&r2=751536&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Sun Mar  8 21:32:52 2009
@@ -99,6 +99,7 @@
 - IMPROVEMENT: Error message is not clear when specifying an invalid value for checksums
(IVY-977)
 - IMPROVEMENT: catch AccessControlException on System.getProperties() (IVY-1015)
 
+- FIX: Error message: "impossible to get artifacts when data has not been loaded" , on certain
modules only (IVY-987)
 - FIX: Ivy doesn't handle the classifier attribute of artifacts inside dependency elements
(IVY-1041)
 - FIX: Buildnumber task does not work for chained resolvers (IVY-1037)
 - FIX: Dependencies don't inherit exclusions from dependencyManagement (IVY-974) (thanks
to John Gibson)

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=751536&r1=751535&r2=751536&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 Sun Mar  8 21:32:52
2009
@@ -293,7 +293,11 @@
                     "impossible to get dependencies when data has not been loaded");
         }
         if (Arrays.asList(confs).contains("*")) {
-            confs = md.getConfigurationsNames();
+            if (isRoot()) {
+                confs = md.getConfigurationsNames();
+            } else {
+                confs = md.getPublicConfigurationsNames();
+            }
         }
         Collection deps = new HashSet();
         for (int i = 0; i < confs.length; i++) {



Mime
View raw message