Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

unable to run ant after unzipping binary distrbtn

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fine thanks, i recogonized it after posting. thank you.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
    Bookmark Topic Watch Topic
  • New Topic