Description
Hi,
If the creation of the Ivy file in the cache fails for a module without an Ivy file, a NullPointerException is thrown (caused because ivyRef == null).
This patch fixes this:
— C:\java\ivy-20060426192557\src\java\fr\jayasoft\ivy\resolver\BasicResolver.java.orig Wed Apr 26 19:28:54 2006
+++ C:\java\ivy-20060426192557\src\java\fr\jayasoft\ivy\resolver\BasicResolver.java Thu Apr 27 15:05:52 2006
@@ -384,7 +384,11 @@
}
}
} catch (Exception e) {
+ if (ivyRef == null)
else
{ Message.warn("impossible to copy ivy file to cache : "+ivyRef.getResource()); + }}
data.getIvy().saveResolver(data.getCache(), systemMd, getName());