2001-08-09 11:03:39 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
2002-02-03 22:00:42 +00:00
|
|
|
<title>Sequential Task</title>
|
2001-08-09 11:03:39 +00:00
|
|
|
</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
|
2001-09-08 01:05:18 +00:00
|
|
|
sequence, while another task is being executed in a separate thread. </p>
|
2001-08-09 11:03:39 +00:00
|
|
|
|
|
|
|
<hr>
|
2002-01-10 08:48:33 +00:00
|
|
|
<p align="center">Copyright © 2001 Apache Software Foundation. All rights
|
2001-08-09 11:03:39 +00:00
|
|
|
Reserved.</p>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|