ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Gates <al...@radik.com>
Subject [PATCH] Fix for bug 1547
Date Fri, 27 Apr 2001 18:45:00 GMT
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            alang@radik.com
SoftwareEngineer      phone: 650.389.0000
Radik Software           www.radik.com


Mime
View raw message