Create an ant file to run other ant files

Viewed 29712

I saw this relevant question but my situation is different so asking this again. Basically, I have 12 ant files that I have to run in a specific sequence. For each ant file, I select a different target, such as "create" or "build and deploy all." How can I create an ant file that will call of the right targets for all of these files?

Pseudocode:

<Call antFile1, "clean">
<Call antFile1, "create">
<Call antFile2, "build">
        .
        .
        .
<Call antfile12, "build and deploy all">
2 Answers
Related