ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: nested ant cntrib for loops
Date Wed, 10 Mar 2010 07:27:47 GMT
Works for me. You have to provide more details ...

Jan

<project xmlns:ac="antlib:net.sf.antcontrib">
 <ac:for param="i" list="1,2">
   <sequential>
     <ac:for param="j" list="1,2">
       <sequential>
         <echo>@{i}@{j}</echo>
       </sequential>
     </ac:for>
   </sequential>
 </ac:for>
</project> 


Buildfile: build.xml
     [echo] 11
     [echo] 12
     [echo] 21
     [echo] 22

>-----Ursprüngliche Nachricht-----
>Von: Klas K [mailto:klas@furingstad.nu] 
>Gesendet: Mittwoch, 10. März 2010 07:16
>An: user@ant.apache.org
>Betreff: nested ant cntrib for loops
>
>
>I have tried to use ant contribs for task by executing an 
>outer and an inner
>for loop, but the inner loop is not executed and I get no clue 
>from logging.
>
>Does anyone have experience with this
>-- 
>View this message in context: 
>http://old.nabble.com/nested-ant-cntrib-for-loops-tp27845981p27
845981.html
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message