wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes unable to run ant after unzipping binary distrbtn Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "unable to run ant after unzipping binary distrbtn" Watch "unable to run ant after unzipping binary distrbtn" New topic
Author

unable to run ant after unzipping binary distrbtn

riyaz udeen
Ranch Hand

Joined: Sep 11, 2005
Posts: 66
Dear Brothers and sisters,I am new to ant.

i have unzipped the ant into D:\Room_Mates\riyaz\Installd\ant\apache-ant-1.6.5.

set the ANT_HOME = D:\Room_Mates\riyaz\Installd\ant;
set the JAVA_HOME = C:\Program Files\Java\jdk1.5.0_09;
set the path = %JAVA_HOME%\bin;%HSQLDB_HOME%\bin;%ANT_HOME%\bin;
%ANT_HOME%\apache-ant-1.6.5\lib\ant-launcher;

when i run 'ant' command in the cmd prompt under any directory i see the error as - 'ant' nor recogonized as internal or external command.Kindly provide me the sollution.
[ October 10, 2006: Message edited by: riyaz udeen ]
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
You missed "apache-ant-1.6.5" in ANT_HOME. Also remove the semi-colon from the end of ant home and java home

where you installed it =
D:\Room_Mates\riyaz\Installd\ant\apache-ant-1.6.5.

you set the ANT_HOME =
D:\Room_Mates\riyaz\Installd\ant;
[ October 10, 2006: Message edited by: Carol Enderlin ]
riyaz udeen
Ranch Hand

Joined: Sep 11, 2005
Posts: 66
fine thanks, i recogonized it after posting. thank you.
vandu matcha
Ranch Hand

Joined: Dec 28, 2005
Posts: 57
hi..i too have the same problem..unable to run Ant after unzipping the files
my environment variables are
ANT_HOME = C:\Documents and Settings\srini\Desktop\Vandana\apache-ant-1.6.0
Classpath = %ANT_HOME%\lib\ant-launcher;%ANT_HOME%\bin
javahome is set correctly..to javahome
i am on windows xp...in the apache site..it was written that if we had a problem running ant in xp..then try to download a latest nightfortly build ...its written like this...i didnt understand..
pls help me out ....
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
vandu,

Next time start your own post.

ant installation instructions:

set path,

Having problems?
prefereably UNset classpath.
[ October 14, 2006: Message edited by: Carol Enderlin ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to run ant after unzipping binary distrbtn
 
Similar Threads
'ant' not recognized...
problem in defineing ANT_HOME
WSAD and ANT
Prob with ANT_HOME or PATH
NoClassDefFoundError..