Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 62057 invoked from network); 29 Sep 2004 11:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Sep 2004 11:23:26 -0000 Received: (qmail 42143 invoked by uid 500); 29 Sep 2004 11:21:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 42071 invoked by uid 500); 29 Sep 2004 11:21:18 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 41946 invoked by uid 99); 29 Sep 2004 11:21:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.179.118.80] (HELO dlddmz17.dlddmz.deltalloyd.de) (195.179.118.80) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 29 Sep 2004 04:21:15 -0700 Received: from srvnt015.DeltaLloyd.de ([128.5.66.30]) by dlddmz17.dlddmz.deltalloyd.de (SAVSMTP 3.1.2.35) with SMTP id M2004092913225608847 for ; Wed, 29 Sep 2004 13:22:56 +0200 Subject: Antwort: AW: passing 0 to exec To: "Ant Users List" X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Christian.Konrad@deltalloyd.de Date: Wed, 29 Sep 2004 13:21:14 +0200 X-MIMETrack: Serialize by Router on srvnt015/DLD(Release 5.0.11 |July 24, 2002) at 09/29/2004 01:21:14 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yes you're right, Jan! It's not Ant, it's Perl. The problem occurs when receiving the argument= . Sorry for bothering you. Christian |---------+----------------------------> | | Jan.Materne@rzf.f| | | in-nrw.de | | | | | | 29.09.2004 12:14 | | | Bitte antworten | | | an "Ant Users | | | List" | | | | |---------+----------------------------> >--------------------------------------------------------------------= ------------------------------------------| | = | | An: user@ant.apache.org = | | Kopie: = | | Thema: AW: passing 0 to exec = | >--------------------------------------------------------------------= ------------------------------------------| works for me Jan foreach $arg (@ARGV) { print "- $arg\n"; } C:\TEMP\anttest>ant perltest Buildfile: build.xml perltest: [exec] - 0 BUILD SUCCESSFUL Total time: 0 seconds > -----Urspr=FCngliche Nachricht----- > Von: Christian.Konrad@deltalloyd.de > [mailto:Christian.Konrad@deltalloyd.de] > Gesendet am: Mittwoch, 29. September 2004 11:55 > An: user@ant.apache.org > Betreff: passing 0 to exec > > Hi, > > I'm calling a perl script using the exec task. But it seems > like ant does > not handle passing the value "0" as an argument to exec. > Am I right? > > exec ... > arg value=3D0 > /exec > > In the upper case the perl script doesn't receive a value. > Other passed > numbers are accepted. > Thanks in advance, > > Christian Konrad > > > > > ---------------------------------------------------------------------= > 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