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/16 16:24:00 UTC

svn commit: r612480 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/plugins/resolver/BasicResolver.java

Author: xavier
Date: Wed Jan 16 07:23:57 2008
New Revision: 612480

URL: http://svn.apache.org/viewvc?rev=612480&view=rev
Log:
FIX: Ivy swallows ParseException when using a latest strategy requiring module descriptors (IVY-702)

Modified:
    ant/ivy/core/trunk/CHANGES.txt
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=612480&r1=612479&r2=612480&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed Jan 16 07:23:57 2008
@@ -72,6 +72,7 @@
 - IMPROVEMENT: Decrease memory footprint (IVY-662)
 - IMPROVEMENT: Downgrade Ant version requirement to 1.6 to build Ivy (IVY-687)
 
+- FIX: Ivy swallows ParseException when using a latest strategy requiring module descriptors (IVY-702)
 - FIX: Problem with cached Ivy files which have extra attributes (IVY-693)
 - FIX: Detection of newer and better artifacts should not happen if 'checkModified' is set to 'false' (IVY-389) (with contribution from Johan Stuyts)
 - FIX: Ivy doesn't respect the order of the ivy patterns as defined in the settings (IVY-676)

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java?rev=612480&r1=612479&r2=612480&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java Wed Jan 16 07:23:57 2008
@@ -432,6 +432,8 @@
                         return new MDResolvedResource(resource, rev, rmr);
                     }
                 } catch (ParseException e) {
+                    Message.warn("Failed to parse the file '" + resource + "': "
+                            + e.getMessage());
                     return null;
                 }
             }