source: other-projects/trunk/realistic-books/packages/AntInstaller/web/manual1.6.2/manual/CoreTasks/sequential.html@ 19253

Last change on this file since 19253 was 19253, checked in by davidb, 15 years ago

Establishing a source code repository for Veronica's Realistic Book's software

File size: 1.1 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>Sequential Task</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2>Sequential</h2>
12<h3>Description</h3>
13<p>Sequential is a container task - it can contain other Ant tasks. The nested
14tasks are simply executed in sequence. Sequential's primary use is to support
15the sequential execution of a subset of tasks within the
16<a href="parallel.html">parallel</a> task</p>
17
18<p>The sequential task has no attributes and does not support any nested
19elements apart from Ant tasks. Any valid Ant task may be embedded within the
20sequential task.</p>
21
22<h3>Example</h3>
23<pre>
24&lt;parallel&gt;
25 &lt;wlrun ... &gt;
26 &lt;sequential&gt;
27 &lt;sleep seconds=&quot;30&quot;/&gt;
28 &lt;junit ... &gt;
29 &lt;wlstop/&gt;
30 &lt;/sequential&gt;
31&lt;/parallel&gt;
32</pre>
33<p>This example shows how the sequential task is used to execute three tasks in
34sequence, while another task is being executed in a separate thread. </p>
35
36<hr>
37<p align="center">Copyright &copy; 2001-2002,2004 The Apache Software Foundation. All rights
38Reserved.</p>
39</body>
40</html>
41
Note: See TracBrowser for help on using the repository browser.