ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Copy.java
Date Thu, 08 Nov 2001 15:30:09 GMT
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: peterlynch@mindspring.com
  
  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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message