Minor error message fix.

-Peter
Index: Copy.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
retrieving revision 1.22
diff -u -r1.22 Copy.java
--- Copy.java   2001/10/28 21:26:29     1.22
+++ Copy.java   2001/11/06 21:16:02
@@ -289,11 +289,11 @@
         }
 
         if (destFile != null && destDir != null) {
-            throw new BuildException("Only one of destfile and destdir may be 
set.");
+            throw new BuildException("Only one of tofile and todir may be 
set.");
         }
 
         if (destFile == null && destDir == null) {
-            throw new BuildException("One of destfile or destdir must be 
set.");
+            throw new BuildException("One of tofile or todir must be set.");
         }
 
         if (file != null && file.exists() && file.isDirectory()) {
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to