ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EetieD <...@leanapps.com>
Subject for statement possibilities
Date Tue, 13 Oct 2009 10:11:55 GMT

Hi all,

I am using the 'for-statement' from Ant-Contrib. I have two questions about
it:

1. Is it possible to stop within the for statement while it isn't ended yet?
2. Is it possible to use integers within a for statement?

For example:

<!-- starts for statement with number = 0, increasing 1 after each iteration
-->
<for>
    <if><equals arg1="${number}" arg2="3" /><then>
        <!-- stop -->
    </then><else>
        <!-- continue -->
    </else></if>
</for>

I hope again someone can help me. Thanks!

EetieD.
-- 
View this message in context: http://www.nabble.com/for-statement-possibilities-tp25870237p25870237.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


Mime
View raw message