Use the following command to determine which ant.bat you are executing.

for /f %i in ("ant.bat") do echo %~$PATH:i

-----Original Message-----
From: Joe Moore [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 03, 2006 8:24 AM
To: Ant Users List
Subject: Re: AW: ANT_HOME is set incorrectly or ant could not be located. 
Please set ANT_HOME.


Also, is the ant.bat file in your PATH environment variable?

You'll need to add %ANT_HOME%\bin to your PATH environment, then your system 
will be able to find ant.bat.
 
Joe [EMAIL PROTECTED]

----- Original Message ----
From: [EMAIL PROTECTED]
To: user@ant.apache.org
Sent: Monday, April 3, 2006 2:29:38 AM
Subject: AW: ANT_HOME is set incorrectly or ant could not be located. Please 
set ANT_HOME.

Are %ANT_HOME%\lib\ant.jar +  %ANT_HOME%\lib\ant-launcher.jar present?

Jan

>-----Ursprüngliche Nachricht-----
>Von: Stephen McConnell [mailto:[EMAIL PROTECTED] 
>Gesendet: Sonntag, 2. April 2006 18:08
>An: 'Ant Users List'
>Betreff: RE: ANT_HOME is set incorrectly or ant could not be 
>located. Please set ANT_HOME.
>
> 
>
>> -----Original Message-----
>> From: Jack Chan [mailto:[EMAIL PROTECTED]
>> Sent: Sunday, 2 April 2006 10:51 PM
>> To: 'Ant Users List'
>> Subject: RE: ANT_HOME is set incorrectly or ant could not be 
>located. 
>> Please set ANT_HOME.
>> 
>> Dear Stephen
>> 
>> Thanks for your reply, I had change th name to "ANT_HOME", but it is 
>> still the same, it just shows
>> 
>> " ANT_HOME is set incorrectly or ant could not be located. 
>> Please set ANT_HOME."
>> 
>> When typing ant from console.
>> I'm sure that when I type "ant" from the console, the system 
>had go in 
>> the c:\ant\bin and call the executable file "ant", otherwise it will 
>> say that the command is not recognize by the system. But just don't 
>> know why it keep saying that the "ANT_HOME" is set incorrectly!!!
>
>
>From the console .. What happens when you enter:
>
>  $ echo %ANT_HOME%
>
>If the above returns the value of ANT_HOME then we can assume 
>that your ANT_HOME definition is good - but if it returned 
>%ANT_HOME% then we know that your definition isn't good.
>
>/Steve.
>
>
>
>---------------------------------------------------------------------
>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]






---------------------------------------------------------------------
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]

Reply via email to