ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinodh Kumar <>
Subject Multiple Arguments Validation
Date Tue, 29 Nov 2011 16:32:51 GMT

I have validation scenario of comparing user input match. But how can I
match mulitple args in single condition [I don't want to use multiple
else/if conditions]

If user input matches any one of the values from key dep.env, echos success.

*Ant Scriplet:*
<equals arg1=&quot;&lt;&lt;USER_INPUT>>" arg2="${dep.env}"/>
<echo message="Environment Exists"/>
<fail message="Environment Exists"/>

*Property file:*



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