Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting Up Ant with enviromental variables?  RSS feed

 
Michael Hubele
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 Name: JAVA_HOME
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

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Ant forum.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!