Sequential is a container task - it can contain other Ant tasks. The nested tasks are simply executed in sequence. Sequential's primary use is to support the sequential execution of a subset of tasks within the parallel task

The sequential task has no attributes and does not support any nested elements apart from Ant tasks. Any valid Ant task may be embedded within the sequential task.


  <wlrun ... >
    <sleep seconds="30"/>

    <junit ... >

This example shows how the sequential task is used to execute three tasks in sequence, while another task is being executed in a separate thread.

Source: Apache Ant