The following small change to Copy.java should fix this bug.

Alan.

Index: Copy.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v

retrieving revision 1.15
diff -u -r1.15 Copy.java
--- Copy.java   2001/04/27 11:58:50 1.15
+++ Copy.java   2001/04/27 18:33:26
@@ -204,7 +204,8 @@
                         Project.MSG_VERBOSE);
                 }
             } else {
-                log("Could not find file " + file.getAbsolutePath() + "
to copy.");
+                throw new BuildException("Could not find file " +
+                    file.getAbsolutePath() + " to copy.");
             }
         }


--
Alan F. Gates            [EMAIL PROTECTED]
SoftwareEngineer      phone: 650.389.0000
Radik Software           www.radik.com

Reply via email to