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.1 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  5. <title>Sequential Task</title>
  6. </head>
  7. <body>
  8. <h2>Sequential</h2>
  9. <h3>Description</h3>
  10. <p>Sequential is a container task - it can contain other Ant tasks. The nested
  11. tasks are simply executed in sequence. Sequential's primary use is to support
  12. the sequential execution of a subset of tasks within the
  13. <a href="parallel.html">parallel</a> task</p>
  14. <p>The sequential task has no attributes and does not support any nested
  15. elements apart from Ant tasks. Any valid Ant task may be embedded within the
  16. sequential task.</p>
  17. <h3>Example</h3>
  18. <pre>
  19. &lt;parallel&gt;
  20. &lt;wlrun ... &gt;
  21. &lt;sequential&gt;
  22. &lt;sleep seconds=&quot;30&quot;/&gt;
  23. &lt;junit ... &gt;
  24. &lt;wlstop/&gt;
  25. &lt;/sequential&gt;
  26. &lt;/parallel&gt;
  27. </pre>
  28. <p>This example shows how the sequential task is used to execute three tasks in
  29. sequence, while another task is being executed in a separate thread. </p>
  30. <hr>
  31. <p align="center">Copyright &copy; 2001-2002,2004-2005 The Apache Software Foundation. All rights
  32. Reserved.</p>
  33. </body>
  34. </html>