Hi, 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:* <if> <equals arg1="<<USER_INPUT>>" arg2="${dep.env}"/> <then> <echo message="Environment Exists"/> </then> <else> <fail message="Environment Exists"/> </else> </if> *Property file:* dep.env=IT1,IT2,IT3,IT4,IT5,IT9,QA1,QA2,QA3,QA4,QA5,QA6,Prod --Vinodh -- View this message in context: http://ant.1045680.n5.nabble.com/Multiple-Arguments-Validation-tp5032934p5032934.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org