ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NR031 <>
Subject How to use nested if in ant script?
Date Fri, 06 Mar 2009 08:39:09 GMT


    How do I use nested <if> tag in ant script. I want to check 2 strings
and if both are true then it has to do some action. I did like this but
getting You must not nest more than one condition into if 

            <equals arg1="abc" arg2="abc"/>
                <equals arg1="def" arg2="defl"/>
                <property name="letter" value="abcdef" />
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message