From ee6ba313a73818ebce42473cc651fa12b0893169 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 11 Apr 2002 07:18:44 +0000 Subject: [PATCH] no, this is the minor tidy up; javadoc tweak; that was a new task git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272360 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/ExecTask.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/ExecTask.java b/src/main/org/apache/tools/ant/taskdefs/ExecTask.java index c720f1d99..3603e8162 100644 --- a/src/main/org/apache/tools/ant/taskdefs/ExecTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/ExecTask.java @@ -220,7 +220,8 @@ public class ExecTask extends Task { } /** - * ant attribute + * fail if execution is wrong + * @since Ant 1.5 */ public void setFailIfExecutionFails(boolean flag) { failIfExecFails=flag; @@ -274,7 +275,9 @@ public class ExecTask extends Task { log("Current OS is " + myos, Project.MSG_VERBOSE); if ((os != null) && (os.indexOf(myos) < 0)){ // this command will be executed only on the specified OS - log("This OS, " + myos + " was not found in the specified list of valid OSes: " + os, Project.MSG_VERBOSE); + log("This OS, " + myos + + " was not found in the specified list of valid OSes: " + os, + Project.MSG_VERBOSE); return false; } return true;