git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269530 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -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. | tasks in other threads will continue to run until all threads have completed. | ||||
| In this sitiuation, the parallel task will also fail.</p> | 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> | <h3>Examples</h3> | ||||
| <pre> | <pre> | ||||
| <parallel> | <parallel> | ||||
| @@ -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> | |||||
| <parallel> | |||||
| <wlrun ...> | |||||
| <sequential> | |||||
| <sleep seconds="30"/> | |||||
| <junit ...> | |||||
| <wlstop/> | |||||
| </sequential> | |||||
| </parallel> | |||||
| </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 © 2000,2001 Apache Software Foundation. All rights | |||||
| Reserved.</p> | |||||
| </body> | |||||
| </html> | |||||
| @@ -60,6 +60,7 @@ | |||||
| <a href="CoreTasks/rename.html"><i>Rename</i></a><br> | <a href="CoreTasks/rename.html"><i>Rename</i></a><br> | ||||
| <a href="CoreTasks/replace.html">Replace</a><br> | <a href="CoreTasks/replace.html">Replace</a><br> | ||||
| <a href="CoreTasks/rmic.html">Rmic</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/signjar.html">SignJar</a><br> | ||||
| <a href="CoreTasks/sleep.html">Sleep</a><br> | <a href="CoreTasks/sleep.html">Sleep</a><br> | ||||
| <a href="CoreTasks/sql.html">Sql</a><br> | <a href="CoreTasks/sql.html">Sql</a><br> | ||||