ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 3021] - Impossible to run non-blocking external calls on Windows
Date Wed, 08 Aug 2001 12:21:11 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3021

*** shadow/3021	Tue Aug  7 11:44:09 2001
--- shadow/3021.tmp.3180	Wed Aug  8 05:21:11 2001
***************
*** 2,9 ****
  | Impossible to run non-blocking external calls on Windows                   |
  +----------------------------------------------------------------------------+
  |        Bug #: 3021                        Product: Ant                     |
! |       Status: NEW                         Version: 1.3                     |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: Core tasks              |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Impossible to run non-blocking external calls on Windows                   |
  +----------------------------------------------------------------------------+
  |        Bug #: 3021                        Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.3                     |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: Core tasks              |
  +----------------------------------------------------------------------------+
***************
*** 49,51 ****
--- 49,77 ----
  thread). Or even use cactus. They don't support ATG Dynamo out of the box, but 
  if you already know how to start/stop the app server from ant, supporting it 
  should be trivial. See http://jakarta.apache.org/commons/cactus/servlets.html.
+ 
+ 
+ ------- Additional Comments From conor@cortexebusiness.com.au  2001-08-08 05:21 -------
+ Ant 1.3 is designed to block until the task completes.
+ 
+ Ant 1.4 (to be released soon) supports multithreading. You will be able to do 
+ something like this
+ 
+ <target name="test">
+    <parallel>
+       <exec startATG/>
+       <sequential>
+          <sleep for a while/> <!-- wait for server to come up -->
+          <test server/>
+          <exec stopATG/>
+       </sequential>
+    </parallel>
+ </target>
+ 
+ This starts two threads - one to run the server and one to test and then stop 
+ the server. The <parallel> container will still block until all threads within 
+ have completed. 
+ 
+ A non-blocking container is probably possible but will not be considered for 
+ the 1.4 release. 
+ 

Mime
View raw message