Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 49335 invoked from network); 1 Dec 2005 17:24:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Dec 2005 17:24:16 -0000 Received: (qmail 74310 invoked by uid 500); 1 Dec 2005 17:24:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74255 invoked by uid 500); 1 Dec 2005 17:24:09 -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 74244 invoked by uid 99); 1 Dec 2005 17:24:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 09:24:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [131.159.0.18] (HELO mailout1.informatik.tu-muenchen.de) (131.159.0.18) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 09:25:36 -0800 Received: from IBMC71A1AE9667 (b65.tum.vpn.lrz-muenchen.de [129.187.47.65]) by mail.in.tum.de (Postfix) with ESMTP id 7A1B92335 for ; Thu, 1 Dec 2005 18:23:44 +0100 (MET) Message-ID: <004801c5f69b$fc71fe20$ee249e0a@IBMC71A1AE9667> From: =?iso-8859-1?Q?Safak_=D6kmen?= To: "Ant Users List" References: <20051201171737.26790.qmail@web30913.mail.mud.yahoo.com> Subject: Re: ant not recognizing command line argument Date: Thu, 1 Dec 2005 18:23:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new/sophie/sophos at mailrelay2.informatik.tu-muenchen.de X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Also I wonder, why the eclipse ant plugin works fine. Matt Benson wrote: > ANT_HOME is used by ant.bat . Which ant.bat is called > is dependent upon your Windows system PATH. The very > fact that you removed the ANT_HOME variable and > received an error message after that makes your PATH > settings suspect. I personally no longer use > ANT_HOME; if you get your PATH set up correctly, > ant.bat can properly deduce ANT_HOME for a standard > installation. > > > --- Safak �kmen wrote: > >> ANT_HOME was pointing to "D:\programme\ant". >> >> I'm sorry. I just don't know what's wrong. >> >> I have a command line utility fsum (FastSum) which I >> tried with command line >> arguments (fsum something.zip something.zip.md5) and >> it works fine. I think >> that means cmd is recognizing command line argument. >> >> I will try installing ant fresh. >> >> Matt Benson wrote: >>> That proves that the Java classes in use are those >>> below ANT_HOME, but it still doesn't prove which >> ant >>> executable is ultimately calling the Java code. >>> >>> >>> --- Safak �kmen wrote: >>> >>>> I tried to identifiy the ant version running by >>>> removing the ANT_HOME >>>> variable. >>>> __________ >>>> D:\programme>ant >>>> Der Befehl "ant" ist entweder falsch geschrieben >>>> oder >>>> konnte nicht gefunden werden. >>>> >>>> D:\programme>cd ant >>>> >>>> D:\programme\ant>cd bin >>>> >>>> D:\programme\ant\bin>ant.bat -debug clean >>>> Buildfile: build.xml >>>> >>>> one: >>>> >>>> BUILD SUCCESSFUL >>>> Total time: 0 seconds >>>> __________ >>>> >>>> So the result is: the called ant task *is* the >> ant >>>> task in >>>> "D:\programme\ant\bin". >>>> >>>> >>>> >>>> >>>> Nicolas Vervelle wrote: >>>>> Apparently, ant doesn't care of whatever you put >>>> in the commande line. >>>>> Just a stupid idea: try specifying the extension for the ant >>>>> script (ant.bat or ant.cmd) >>>>> ant.bat -debug clean >>>>> or >>>>> ant.cmd -debug clean >>>>> >>>>> >>>>> Safak �kmen wrote: >>>>> >>>>>> Hi! >>>>>> >>>>>> It is really strange. -debug doesn't work >> either. >>>>>> >>>>>> Look at this: >>>>>> >>>>>> __________ >>>>>> D:\programme\ant\bin>ant -debug clean >>>>>> Buildfile: build.xml >>>>>> >>>>>> one: >>>>>> >>>>>> BUILD SUCCESSFUL >>>>>> Total time: 1 second >>>>>> __________ >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >> > --------------------------------------------------------------------- >>>>> 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 >>>> >>>> >>> >>> >>> >>> >>> >>> __________________________________ >>> Yahoo! Mail - PC Magazine Editors' Choice 2005 >>> http://mail.yahoo.com >>> >>> >> > --------------------------------------------------------------------- >>> 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 >> >> > > > > > __________________________________ > Yahoo! Music Unlimited > Access over 1 million songs. Try it free. > http://music.yahoo.com/unlimited/ > > --------------------------------------------------------------------- > 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