• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

ant installation problems

 
Ranch Hand
Posts: 366
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
Does ANT have anything to do with version of jdk on the system. I am using the latest version
(i,e j2sdk1.4.1_01)
I have tried installing three different versions of ant...and everytime , I cannot do it
After following the instructions for setting
ANT_HOME, and setting path and classpath according, I still cant make them work.
Any help is greatly appreciated.
Thanks
Sri
 
Sridhar Srikanthan
Ranch Hand
Posts: 366
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could get around the problem by using jdk 1.3. But Can someone give me correct reason...because i dont remember seeing about the version thing anywhere listed (may be I missed it on the Ant site).
Thanks in advance
Sri
 
Ranch Hand
Posts: 635
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is how I set mine up, I guess you are using windows as well.
In my user variable window (Top Window)I create the three following variables:
ANT_HOME C:\jakarta-ant-1.5.1
JAVA_HOME C:\j2sdk1.4.0_03
Path %JAVA_HOME%\bin;%ANT_HOME%\bin.
and then by running just ant in my command prompt I get the message:
Buildfile: build.xml does not exist!
This means that my ant is up and running.
have you typed path in your command prompt this will output your path.
Check also that ant.bat is in your ANT_HOME%\bin path. and that you have your ant.jar and optional.jar in your lib path.
Hope this helps Tony
 
Sridhar Srikanthan
Ranch Hand
Posts: 366
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tony...
I messed up somewhere but not able to know where.
Thanks , your solution also works for me.
Sri
    Bookmark Topic Watch Topic
  • New Topic