Browse Source

nothing wrong with setFailOnError(false) and spawn.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276162 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 21 years ago
parent
commit
8cbb49d6a0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main/org/apache/tools/ant/taskdefs/Java.java

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

@@ -405,9 +405,8 @@ public class Java extends Task {
*/ */
public void setFailonerror(boolean fail) { public void setFailonerror(boolean fail) {
failOnError = fail; failOnError = fail;
incompatibleWithSpawn = true;
incompatibleWithSpawn |= fail;
} }

/** /**
* The working directory of the process * The working directory of the process
* *


Loading…
Cancel
Save