ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sp-ota" <ota.yoshih...@future.co.jp>
Subject Question: Loop in Ant
Date Mon, 13 Aug 2001 05:59:27 GMT
Hello.

Does Ant support a loop like for loop in bourne-shell?

I have sub-modules build within a build tree, and each sub-project has own
build xml file.
Within the root xml file, I 'd like to do something like the following
refering to bourne-shell style;

for project in AProject BProject CProject
do ant $project.xml
done

I have searched FAQ, the mailing list, and so on, but I couldn't find
related topics.
Does anyone know how to do a loop in Ant?

Thank.

Hiro



Mime
View raw message