ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ExecTask.java
Date Fri, 06 Jul 2001 15:18:45 GMT
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;
  
  
  

Mime
View raw message