ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ExecTask.java
Date Mon, 03 Dec 2001 20:24:50 GMT
stevel      01/12/03 12:24:50

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecTask.java
  Log:
  Last weeks changes took away helpful information about why exec failed to run; this puts
it back in.
  
  Revision  Changes    Path
  1.23      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java
  
  Index: ExecTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ExecTask.java	2001/11/30 20:43:27	1.22
  +++ ExecTask.java	2001/12/03 20:24:50	1.23
  @@ -323,7 +323,7 @@
               runExecute(exe);
           } catch (IOException e) {
               if (failIfExecFails) {
  -                throw new BuildException("Execute failed: ",e, location);
  +                throw new BuildException("Execute failed: "+e.toString(),e, location);
               } else {
                   log("Execute failed: "+e.toString(), Project.MSG_ERR);
               }
  
  
  

--
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