Browse Source

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
master
Steve Loughran 23 years ago
parent
commit
ee6ba313a7
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      src/main/org/apache/tools/ant/taskdefs/ExecTask.java

+ 5
- 2
src/main/org/apache/tools/ant/taskdefs/ExecTask.java View File

@@ -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;


Loading…
Cancel
Save