Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45701 invoked from network); 1 Dec 2005 17:18:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Dec 2005 17:18:09 -0000 Received: (qmail 61628 invoked by uid 500); 1 Dec 2005 17:18:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61588 invoked by uid 500); 1 Dec 2005 17:18:02 -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 61577 invoked by uid 99); 1 Dec 2005 17:18:02 -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:18:02 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.201.66] (HELO web30913.mail.mud.yahoo.com) (68.142.201.66) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Dec 2005 09:19:28 -0800 Received: (qmail 26792 invoked by uid 60001); 1 Dec 2005 17:17:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gLk9B8YBnh62Rbw6PjFIqsbMiIg8GpqiL7GNKTVOV+6MhZid/VUVc52xr3sxr+fW5jaRML0HFfCDOV7WooKhIdK5SJYIgCGl5vYrZqQkKVmwroeOJJ80aSXws/Lkl613IsJUKo8/qiNTkoFb+0ZdQdvFGhtJWqbgYDdnMuLJ19w= ; Message-ID: <20051201171737.26790.qmail@web30913.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30913.mail.mud.yahoo.com via HTTP; Thu, 01 Dec 2005 09:17:37 PST Date: Thu, 1 Dec 2005 09:17:37 -0800 (PST) From: Matt Benson Subject: Re: ant not recognizing command line argument To: Ant Users List In-Reply-To: <003e01c5f69a$abd18a40$ee249e0a@IBMC71A1AE9667> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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