bodewig 01/11/08 07:30:09
Modified: src/main/org/apache/tools/ant/taskdefs Copy.java
Log:
fix error message in copy task.
PR: 4687
Submitted By: [EMAIL PROTECTED]
Revision Changes Path
1.23 +2 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java
Index: Copy.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Copy.java 2001/10/28 21:26:29 1.22
+++ Copy.java 2001/11/08 15:30:09 1.23
@@ -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]>