You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

sequential.html 1.8 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Language" content="en-us">
  18. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  19. <title>Sequential Task</title>
  20. </head>
  21. <body>
  22. <h2>Sequential</h2>
  23. <h3>Description</h3>
  24. <p>Sequential is a container task - it can contain other Ant tasks. The nested
  25. tasks are simply executed in sequence. Sequential's primary use is to support
  26. the sequential execution of a subset of tasks within the
  27. <a href="parallel.html">parallel</a> task</p>
  28. <p>The sequential task has no attributes and does not support any nested
  29. elements apart from Ant tasks. Any valid Ant task may be embedded within the
  30. sequential task.</p>
  31. <h3>Example</h3>
  32. <pre>
  33. &lt;parallel&gt;
  34. &lt;wlrun ... &gt;
  35. &lt;sequential&gt;
  36. &lt;sleep seconds=&quot;30&quot;/&gt;
  37. &lt;junit ... &gt;
  38. &lt;wlstop/&gt;
  39. &lt;/sequential&gt;
  40. &lt;/parallel&gt;
  41. </pre>
  42. <p>This example shows how the sequential task is used to execute three tasks in
  43. sequence, while another task is being executed in a separate thread. </p>
  44. </body>
  45. </html>