Author: xavier
Date: Wed Nov 28 03:20:05 2007
New Revision: 598960
URL: http://svn.apache.org/viewvc?rev=598960&view=rev
Log:
use verbose instead of warn on IOException when listing resources, since it can
happen for very basic reason, like a module not present in the repository
(which is allowed in a chain for instance)
Modified:
incubator/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/util/ResolverHelper.java
Modified:
incubator/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/util/ResolverHelper.java
URL:
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/util/ResolverHelper.java?rev=598960&r1=598959&r2=598960&view=diff
==============================================================================
---
incubator/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/util/ResolverHelper.java
(original)
+++
incubator/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/util/ResolverHelper.java
Wed Nov 28 03:20:05 2007
@@ -86,6 +86,10 @@
} else {
return null;
}
+ } catch (IOException e) {
+ Message.verbose("problem while listing resources in " + root +
" with " + rep + ":");
+ Message.verbose(" " + e.getClass().getName() + " " +
e.getMessage());
+ return null;
} catch (Exception e) {
Message.warn("problem while listing resources in " + root + "
with " + rep + ":");
Message.warn(" " + e.getClass().getName() + " " +
e.getMessage());
@@ -115,6 +119,10 @@
Message.debug("\t\tno resources found");
return null;
}
+ } catch (IOException e) {
+ Message.verbose("problem while listing resources in " + parent + "
with " + rep + ":");
+ Message.verbose(" " + e.getClass().getName() + " " +
e.getMessage());
+ return null;
} catch (Exception e) {
Message.warn("problem while listing resources in " + parent + "
with " + rep + ":");
Message.warn(" " + e.getClass().getName() + " " + e.getMessage());