Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 61644 invoked by uid 500); 9 Aug 2001 11:05:51 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 61635 invoked by uid 500); 9 Aug 2001 11:05:51 -0000 Delivered-To: apmail-jakarta-ant-cvs@apache.org Date: 9 Aug 2001 11:03:39 -0000 Message-ID: <20010809110339.37168.qmail@icarus.apache.org> From: conor@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/docs/manual/CoreTasks sequential.html parallel.html X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N conor 01/08/09 04:03:39 Modified: docs/manual coretasklist.html docs/manual/CoreTasks parallel.html Added: docs/manual/CoreTasks sequential.html Log: Description of sequential task Revision Changes Path 1.18 +1 -0 jakarta-ant/docs/manual/coretasklist.html Index: coretasklist.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/manual/coretasklist.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- coretasklist.html 2001/08/09 10:48:12 1.17 +++ coretasklist.html 2001/08/09 11:03:39 1.18 @@ -60,6 +60,7 @@ Rename
Replace
Rmic
+Sequential
SignJar
Sleep
Sql
1.2 +4 -0 jakarta-ant/docs/manual/CoreTasks/parallel.html Index: parallel.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/parallel.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- parallel.html 2001/08/09 10:48:12 1.1 +++ parallel.html 2001/08/09 11:03:39 1.2 @@ -37,6 +37,10 @@ tasks in other threads will continue to run until all threads have completed. In this sitiuation, the parallel task will also fail.

+

The parallel task may be combined with the +sequential task to define sequences of tasks to be executed on each thread +within the parallel block

+

Examples

   <parallel>
  
  
  
  1.1                  jakarta-ant/docs/manual/CoreTasks/sequential.html
  
  Index: sequential.html
  ===================================================================
  
  
  
  
  Ant User Manual
  
  
  
  
  

Sequential

Description

Sequential is a container task - it can contain other Ant tasks. The nested tasks are simply executed in sequence. Sequential's primary use is to support the sequential execution of a subset of tasks within the parallel task

The sequential task has no attributes and does not support any nested elements apart from Ant tasks. Any valid Ant task may be embedded within the sequential task.

Example

  <parallel>
    <wlrun ...>
    <sequential>
      <sleep seconds="30"/>
      <junit ...>
      <wlstop/>
    </sequential>
  </parallel>
  

This example shows how the sequential task is used to execute three tasks in sequence, while another task is being executed in a separate thread.


Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.