jvanzyl 02/03/11 21:02:21
Modified: src/java/org/apache/maven UpdateResources.java
Log:
Using the name of the actual file when it can't be retrieved to
avoid the "Can't get null ..."
Revision Changes Path
1.6 +3 -3
jakarta-turbine-maven/src/java/org/apache/maven/UpdateResources.java
Index: UpdateResources.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/UpdateResources.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- UpdateResources.java 12 Mar 2002 04:46:21 -0000 1.5
+++ UpdateResources.java 12 Mar 2002 05:02:21 -0000 1.6
@@ -246,13 +246,13 @@
}
if (is == null)
{
- log("Can't get " + source + " to " + destinationFile);
+ log("Can't get " + file + " to " + destinationFile);
if (ignoreErrors)
{
continue;
}
throw new Exception(
- "Can't get " + source + " to " + destinationFile);
+ "Can't get " + file + " to " + destinationFile);
}
byte[] buffer = new byte[100 * 1024];
@@ -292,7 +292,7 @@
}
catch (IOException ioe)
{
- log("Error getting " + source + " to " + destinationFile);
+ log("Error getting " + file + " to " + destinationFile);
if (ignoreErrors)
{
continue;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>