ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: ant not recognizing command line argument
Date Thu, 01 Dec 2005 17:17:37 GMT
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 <oekmen@in.tum.de> 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 <oekmen@in.tum.de> 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


Mime
View raw message