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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: > >> [EMAIL PROTECTED] > >>> For additional commands, e-mail: > [EMAIL PROTECTED] > >> > >> > >> > > > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: > >> [EMAIL PROTECTED] > >> For additional commands, e-mail: > >> [EMAIL PROTECTED] > >> > >> > > > > > > > > > > > > __________________________________ > > Yahoo! Mail - PC Magazine Editors' Choice 2005 > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
