source: other-projects/trunk/realistic-books/packages/AntInstaller/web/manual1.7.0/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.8 KB
Line 
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
30tasks are simply executed in sequence. Sequential's primary use is to support
31the 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
35elements apart from Ant tasks. Any valid Ant task may be embedded within the
36sequential task.</p>
37
38<h3>Example</h3>
39<pre>
40&lt;parallel&gt;
41 &lt;wlrun ... &gt;
42 &lt;sequential&gt;
43 &lt;sleep seconds=&quot;30&quot;/&gt;
44 &lt;junit ... &gt;
45 &lt;wlstop/&gt;
46 &lt;/sequential&gt;
47&lt;/parallel&gt;
48</pre>
49<p>This example shows how the sequential task is used to execute three tasks in
50sequence, while another task is being executed in a separate thread. </p>
51
52
53</body>
54</html>
55
Note: See TracBrowser for help on using the repository browser.