It seems that this is not possible. You could rewrite your scenario with <if>
Jan <ac:if> <or> <equals arg1="${value}" arg2="foo"/> <equals arg1="${value}" arg2="bar"/> </or> <then> <echo>foo</echo> <echo>or bar</echo> </then> </ac:if> >-----Ursprüngliche Nachricht----- >Von: Marco Gutsche [mailto:marco.guts...@kobil.com] >Gesendet: Dienstag, 18. Mai 2010 08:11 >An: user@ant.apache.org >Betreff: Re: multiple switch case > >Hello, > >Thanks, but I found this link and the example only shows one case and >I'm not able to modify it to use multiple case for one following >instruction (like my example). > >Regards >Marco > >Am 17.05.2010 20:56, schrieb reno: >> Marco, >> >> a bit of "googling" will give you that link: >> http://ant-contrib.sourceforge.net/tasks/tasks/switch.html >> >> hope this help >> >> S. >>> Hello, >>> >>> it is possible to use multiple case in a switch command, >for example: >>> >>> switch value: >>> case a: >>> case b: >>> echo "a or b" >>> case c: >>> echo "c" >>> >>> Thank a lot. >>> >>> Regards >>> Marco >>> >>> >>> >--------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org >>> For additional commands, e-mail: user-h...@ant.apache.org >>> >>> >>> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org >> For additional commands, e-mail: user-h...@ant.apache.org >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscr...@ant.apache.org >For additional commands, e-mail: user-h...@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org