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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to