diff --git a/src/main/org/apache/tools/ant/helper/DefaultExecutor.java b/src/main/org/apache/tools/ant/helper/DefaultExecutor.java index 39911459e..f475f0473 100755 --- a/src/main/org/apache/tools/ant/helper/DefaultExecutor.java +++ b/src/main/org/apache/tools/ant/helper/DefaultExecutor.java @@ -25,6 +25,8 @@ import org.apache.tools.ant.BuildException; /** * Default Target executor implementation. + * Runs each target individually (including all of its dependencies), + * halting immediately upon error. * @since Ant 1.6.3 */ public class DefaultExecutor implements Executor { diff --git a/src/main/org/apache/tools/ant/helper/KeepGoingExecutor.java b/src/main/org/apache/tools/ant/helper/KeepGoingExecutor.java index 41e608955..28c7db292 100755 --- a/src/main/org/apache/tools/ant/helper/KeepGoingExecutor.java +++ b/src/main/org/apache/tools/ant/helper/KeepGoingExecutor.java @@ -25,6 +25,9 @@ import org.apache.tools.ant.BuildException; /** * "Keep-going" Target executor implementation. + * Differs from {@link DefaultExecutor} in that a failure in one target does + * not halt execution; all targets are attempted, in order. The last failure, + * if any, is reported to the caller. * @since Ant 1.6.3 */ public class KeepGoingExecutor implements Executor { diff --git a/src/main/org/apache/tools/ant/helper/SingleCheckExecutor.java b/src/main/org/apache/tools/ant/helper/SingleCheckExecutor.java index 435a4b433..d1ea3542c 100755 --- a/src/main/org/apache/tools/ant/helper/SingleCheckExecutor.java +++ b/src/main/org/apache/tools/ant/helper/SingleCheckExecutor.java @@ -27,6 +27,8 @@ import org.apache.tools.ant.BuildException; /** * "Single-check" Target executor implementation. + * Differs from {@link DefaultExecutor} in that the dependencies for all + * targets are computed together, so that shared dependencies are run just once. * @since Ant 1.6.3 */ public class SingleCheckExecutor implements Executor {