ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@dpml.net>
Subject RE: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
Date Sun, 02 Apr 2006 16:07:41 GMT
 

> -----Original Message-----
> From: Jack Chan [mailto:jackjessie@netvigator.com] 
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message