ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ExecuteOn.java
Date Wed, 02 Aug 2000 12:06:22 GMT
bodewig     00/08/02 05:06:22

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecuteOn.java
  Log:
  Allow parallel execution on windows - now that antRun.bat has been fixed.
  
  Revision  Changes    Path
  1.5       +1 -5      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java
  
  Index: ExecuteOn.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ExecuteOn.java	2000/08/01 09:18:40	1.4
  +++ ExecuteOn.java	2000/08/02 12:06:22	1.5
  @@ -134,11 +134,7 @@
               int err = -1;
               String myos = System.getProperty("os.name");
   
  -            // antRun.bat currently limits us to directory + executable 
  -            //                                             + 7 args
  -            if (parallel && 
  -                (myos.toLowerCase().indexOf("windows") < 0 || s.length+cmdl.size() <=
8)
  -                ) {
  +            if (parallel) {
                   cmdl.addLine(s);
                   exe.setCommandline(cmdl.getCommandline());
                   err = exe.execute();
  
  
  

Mime
View raw message