You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by co...@apache.org on 2001/07/06 17:18:45 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ExecTask.java

conor       01/07/06 08:18:44

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecTask.java
  Log:
  Improve OS related messages in Exec
  
  Revision  Changes    Path
  1.15      +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java
  
  Index: ExecTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ExecTask.java	2001/07/06 11:14:53	1.14
  +++ ExecTask.java	2001/07/06 15:18:40	1.15
  @@ -187,10 +187,10 @@
       protected boolean isValidOs() {
           // test if os match
           String myos = System.getProperty("os.name");
  -        log("Myos = " + myos, Project.MSG_VERBOSE);
  +        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("Not found in " + 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;