You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by fanyun <yu...@vtradex.com> on 2001/09/04 03:49:26 UTC
how to loop in Ant
Hi all:
I have serval submodules, and serveral tasks need to operator on those submodules. I am looking for something like:
<models>
<model>abc</model>
<model>abc1</model>
<model>abc2</model>
<model>abc3</model>
</models>
<for model in models>
<ant call task1 model=$model>
<ant call task2 model=$model>
<ant call task3 model=$model>
</for>
Any solution?
Regards
fanyun
Re: how to loop in Ant
Posted by Diane Holt <ho...@yahoo.com>.
See: http://marc.theaimsgroup.com/?l=ant-user&m=99859676002379&w=2
Diane
--- fanyun <yu...@vtradex.com> wrote:
> Hi all:
>
> I have serval submodules, and serveral tasks need to operator on those
> submodules. I am looking for something like:
>
> <models>
> <model>abc</model>
> <model>abc1</model>
> <model>abc2</model>
> <model>abc3</model>
> </models>
>
>
>
> <for model in models>
> <ant call task1 model=$model>
> <ant call task2 model=$model>
> <ant call task3 model=$model>
> </for>
>
>
> Any solution?
>
>
> Regards
>
> fanyun
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com