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

Setting Up Ant with enviromental variables?

Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to set up ANT on my computer and I want to set up some enviromental variables for it but I am not sure what to do.

This is what I did

Places ant here: G:\Program Files\apache-ant-1.6.5
Installed Java Here: G:\Program Files\Java\jdk1.5.0_06

When to Enviromental variables and did this

Var Name: ANT_HOME
Var Variable: G:\Program Files\apache-ant-1.6.5

Var Variable: G:\Program Files\Java\jdk1.5.0_06

Var Name: PATH
Var Variable: PATH=%PATH%;%ANT_HOME%\bin

now when I go to cmd line and type in ant I get buildFile: build.xml does not exist!

build Failed

So I got the build file but I don't know where to put it or what I am suppost to do

Posts: 67446
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Ant forum.
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally, build.xml should be in your current directory, ie. where you type ant.

You can do it differently, but why bother?
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic