ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ExecuteJava.java
Date Tue, 01 Mar 2005 21:24:59 GMT
mbenson     2005/03/01 13:24:59

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecuteJava.java
  Log:
  Looks like the right thing to do:
  
  Revision  Changes    Path
  1.48      +2 -1      ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java
  
  Index: ExecuteJava.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- ExecuteJava.java	7 Feb 2005 23:36:02 -0000	1.47
  +++ ExecuteJava.java	1 Mar 2005 21:24:59 -0000	1.48
  @@ -278,10 +278,11 @@
           try {
               int rc = exe.execute();
               redirector.complete();
  -            timedOut = exe.killedProcess();
               return rc;
           } catch (IOException e) {
               throw new BuildException(e);
  +        } finally {
  +            timedOut = exe.killedProcess();
           }
       }
   
  
  
  

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


Mime
View raw message