Browse Source

Description of sequential task

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269530 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
b8d229b18c
3 changed files with 45 additions and 0 deletions
  1. +4
    -0
      docs/manual/CoreTasks/parallel.html
  2. +40
    -0
      docs/manual/CoreTasks/sequential.html
  3. +1
    -0
      docs/manual/coretasklist.html

+ 4
- 0
docs/manual/CoreTasks/parallel.html View File

@@ -37,6 +37,10 @@ thread will be blocked waiting for all the child threads to complete.</p>
tasks in other threads will continue to run until all threads have completed.
In this sitiuation, the parallel task will also fail.</p>

<p>The parallel task may be combined with the <a href="sequential.html">
sequential</a> task to define sequences of tasks to be executed on each thread
within the parallel block</p>

<h3>Examples</h3>
<pre>
&lt;parallel&gt;


+ 40
- 0
docs/manual/CoreTasks/sequential.html View File

@@ -0,0 +1,40 @@
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Ant User Manual</title>
</head>

<body>

<h2>Sequential</h2>
<h3>Description</h3>
<p>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
<a href="parallel.html">parallel</a> task</p>

<p>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.</p>

<h3>Example</h3>
<pre>
&lt;parallel&gt;
&lt;wlrun ...&gt;
&lt;sequential&gt;
&lt;sleep seconds=&quot;30&quot;/&gt;
&lt;junit ...&gt;
&lt;wlstop/&gt;
&lt;/sequential&gt;
&lt;/parallel&gt;
</pre>
<p>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.

<hr>
<p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
Reserved.</p>
</body>
</html>


+ 1
- 0
docs/manual/coretasklist.html View File

@@ -60,6 +60,7 @@
<a href="CoreTasks/rename.html"><i>Rename</i></a><br>
<a href="CoreTasks/replace.html">Replace</a><br>
<a href="CoreTasks/rmic.html">Rmic</a><br>
<a href="CoreTasks/sequential.html">Sequential</a><br>
<a href="CoreTasks/signjar.html">SignJar</a><br>
<a href="CoreTasks/sleep.html">Sleep</a><br>
<a href="CoreTasks/sql.html">Sql</a><br>


Loading…
Cancel
Save