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
|
---|
14 | tasks are simply executed in sequence. Sequential's primary use is to support
|
---|
15 | the 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
|
---|
19 | elements apart from Ant tasks. Any valid Ant task may be embedded within the
|
---|
20 | sequential task.</p>
|
---|
21 |
|
---|
22 | <h3>Example</h3>
|
---|
23 | <pre>
|
---|
24 | <parallel>
|
---|
25 | <wlrun ... >
|
---|
26 | <sequential>
|
---|
27 | <sleep seconds="30"/>
|
---|
28 | <junit ... >
|
---|
29 | <wlstop/>
|
---|
30 | </sequential>
|
---|
31 | </parallel>
|
---|
32 | </pre>
|
---|
33 | <p>This example shows how the sequential task is used to execute three tasks in
|
---|
34 | sequence, while another task is being executed in a separate thread. </p>
|
---|
35 |
|
---|
36 | <hr>
|
---|
37 | <p align="center">Copyright © 2001-2002,2004 The Apache Software Foundation. All rights
|
---|
38 | Reserved.</p>
|
---|
39 | </body>
|
---|
40 | </html>
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.