ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs CopyPath.java
Date Mon, 16 May 2005 15:47:33 GMT
stevel      2005/05/16 08:47:33

  Modified:    src/main/org/apache/tools/ant/taskdefs CopyPath.java
  Log:
  apply apache rules as to position of + on a multiline string
  
  Revision  Changes    Path
  1.2       +4 -4      ant/src/main/org/apache/tools/ant/taskdefs/CopyPath.java
  
  Index: CopyPath.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/CopyPath.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CopyPath.java	16 May 2005 14:58:47 -0000	1.1
  +++ CopyPath.java	16 May 2005 15:47:33 -0000	1.2
  @@ -173,10 +173,10 @@
                               preserveLastModified, null,
                               null, getProject());
                   } catch (IOException ioe) {
  -                    String msg = "Failed to copy " +
  -                            sourceFile +
  -                            " to " +
  -                            destFile
  +                    String msg = "Failed to copy "
  +                            + sourceFile 
  +                            + " to "
  +                            + destFile
                               + " due to " + ioe.getMessage();
                       if (destFile.exists() && !destFile.delete()) {
                           msg += " and I couldn't delete the corrupt " + destFile;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message