1 | <!--
|
---|
2 | Licensed to the Apache Software Foundation (ASF) under one or more
|
---|
3 | contributor license agreements. See the NOTICE file distributed with
|
---|
4 | this work for additional information regarding copyright ownership.
|
---|
5 | The ASF licenses this file to You under the Apache License, Version 2.0
|
---|
6 | (the "License"); you may not use this file except in compliance with
|
---|
7 | the License. You may obtain a copy of the License at
|
---|
8 |
|
---|
9 | http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 |
|
---|
11 | Unless required by applicable law or agreed to in writing, software
|
---|
12 | distributed under the License is distributed on an "AS IS" BASIS,
|
---|
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
---|
14 | See the License for the specific language governing permissions and
|
---|
15 | limitations under the License.
|
---|
16 | -->
|
---|
17 | <html>
|
---|
18 |
|
---|
19 | <head>
|
---|
20 | <meta http-equiv="Content-Language" content="en-us">
|
---|
21 | <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
|
---|
22 | <title>Sequential Task</title>
|
---|
23 | </head>
|
---|
24 |
|
---|
25 | <body>
|
---|
26 |
|
---|
27 | <h2><a name="sequintial">Sequential</a></h2>
|
---|
28 | <h3>Description</h3>
|
---|
29 | <p>Sequential is a container task - it can contain other Ant tasks. The nested
|
---|
30 | tasks are simply executed in sequence. Sequential's primary use is to support
|
---|
31 | the sequential execution of a subset of tasks within the
|
---|
32 | <a href="parallel.html">parallel</a> task</p>
|
---|
33 |
|
---|
34 | <p>The sequential task has no attributes and does not support any nested
|
---|
35 | elements apart from Ant tasks. Any valid Ant task may be embedded within the
|
---|
36 | sequential task.</p>
|
---|
37 |
|
---|
38 | <h3>Example</h3>
|
---|
39 | <pre>
|
---|
40 | <parallel>
|
---|
41 | <wlrun ... >
|
---|
42 | <sequential>
|
---|
43 | <sleep seconds="30"/>
|
---|
44 | <junit ... >
|
---|
45 | <wlstop/>
|
---|
46 | </sequential>
|
---|
47 | </parallel>
|
---|
48 | </pre>
|
---|
49 | <p>This example shows how the sequential task is used to execute three tasks in
|
---|
50 | sequence, while another task is being executed in a separate thread. </p>
|
---|
51 |
|
---|
52 |
|
---|
53 | </body>
|
---|
54 | </html>
|
---|
55 |
|
---|