ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <>
Subject Re: ANT_HOME is set incorrectly or ant could not be locatated. Please set ANT_HOME.
Date Mon, 25 Apr 2005 06:24:19 GMT
--- Sam Huang <> wrote:
> Hello,
> As a beginner of Ant, I use the command
> set ant_home=D:\apache-ant-1.6.2\bin
> to setup my ant, but resulted a message as title.
> How to correct it? Thanks!
Well, it is not correct. ANT_HOME (with capital
letters) is the place where ant is installed, in your
case it should be
set ANT_HOME=D:\apache-ant-1.6.2.

Next you should set your PATH to contain ant launching
set PATH=%PATH%;%ANT_HOME%/bin

Now if the command
ant -version
gives you the version of the Ant you are using, you
have installed it correctly.


> Regards, 
> Sam Hwang

Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message