| 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: 1348
|
|
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: 1348
|
|
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 ]
|
 |
 |
|
|
subject: unable to run ant after unzipping binary distrbtn
|
|
|