From user-return-70431-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue May 18 06:11:16 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35514 invoked from network); 18 May 2010 06:11:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 06:11:16 -0000 Received: (qmail 52052 invoked by uid 500); 18 May 2010 06:11:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 51980 invoked by uid 500); 18 May 2010 06:11:15 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 51972 invoked by uid 99); 18 May 2010 06:11:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 06:11:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.25.29.117] (HELO mail.kobil.com) (194.25.29.117) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 06:11:07 +0000 Received: by mail.kobil.com (Postfix, from userid 65534) id 9CBBA69F4E2; Tue, 18 May 2010 08:11:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.kobil.com X-Spam-Level: Received: from localhost (localhost [127.0.0.1]) by mail.kobil.com (Postfix) with ESMTP id 747B169F4F3 for ; Tue, 18 May 2010 08:11:22 +0200 (CEST) Received: from [127.0.0.1] (gate [192.168.88.176]) by mail.kobil.com (Postfix) with ESMTP id 57DCF69F4EE for ; Tue, 18 May 2010 08:11:22 +0200 (CEST) Message-ID: <4BF22F65.4090500@kobil.com> Date: Tue, 18 May 2010 08:10:45 +0200 From: Marco Gutsche User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: user@ant.apache.org Subject: Re: multiple switch case References: <4BF14943.9020000@kobil.com> <4BF19149.2010506@free.fr> In-Reply-To: <4BF19149.2010506@free.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 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-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org