Browse Source

Looks like the right thing to do:

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277756 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
650416f089
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java

+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java View File

@@ -278,10 +278,11 @@ public class ExecuteJava implements Runnable, TimeoutObserver {
try { try {
int rc = exe.execute(); int rc = exe.execute();
redirector.complete(); redirector.complete();
timedOut = exe.killedProcess();
return rc; return rc;
} catch (IOException e) { } catch (IOException e) {
throw new BuildException(e); throw new BuildException(e);
} finally {
timedOut = exe.killedProcess();
} }
} }




Loading…
Cancel
Save