ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Copy.java
Date Fri, 06 Oct 2000 07:27:34 GMT
bodewig     00/10/06 00:27:34

  Modified:    src/main/org/apache/tools/ant/taskdefs Copy.java
  Log:
  Fixed what looks like a typo in the error message.
  
  Revision  Changes    Path
  1.3       +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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Copy.java	2000/10/05 17:19:56	1.2
  +++ Copy.java	2000/10/06 07:27:33	1.3
  @@ -203,8 +203,8 @@
               throw new BuildException("One of destfile or destdir must be set.");
           }
   
  -        if (file != null && destFile != null && file.exists() &&
file.isDirectory()) {
  -            throw new BuildException("Use the dir attribute to copy directories.");
  +        if (file != null && file.exists() && file.isDirectory()) {
  +            throw new BuildException("Use a fileset to copy directories.");
           }
   
           if (destFile != null && filesets.size() > 0) {
  
  
  

Mime
View raw message