ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Java.java
Date Mon, 29 Mar 2004 17:02:13 GMT
stevel      2004/03/29 09:02:13

  Modified:    src/main/org/apache/tools/ant/taskdefs Java.java
  Log:
  I do not like the current process of marking incompatibility, as it is a dog to use from
programmatic task access. We should validate immediatly before execution instead. This commit
is not a fix, merely a partial workaround.
  
  Revision  Changes    Path
  1.90      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/Java.java
  
  Index: Java.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- Java.java	27 Mar 2004 21:22:58 -0000	1.89
  +++ Java.java	29 Mar 2004 17:02:13 -0000	1.90
  @@ -578,7 +578,7 @@
        */
       public void setTimeout(Long value) {
           timeout = value;
  -        incompatibleWithSpawn = true;
  +        incompatibleWithSpawn |= timeout!=null;
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message