Follow the below steps to set-up ANT build tool-

  1. Go to the folder which have been downloaded in this cases

“C:\Selenium\ANT\apache-ant-1.8.4-bin\apache-ant-1.8.4”

  1. Go to Computer properties->Click on Advance tab->Environment Variables
  2. In the System Variable Create an new variable name as “ANT_HOME”
  3. Paste the above ANT directory in the path text box Click Search for a PATH variable select the variable and click on Edit button
  4. Append a semicolon”;” and paste the above ANT directory appending “/bin”
  5. To check whether ANT is completely set into the Environment Go to Command prompt and type ant and hit enter key.
  6. After pressing ant you will see “Buildfile: build.xml does not exist! Build failed”
  7. This message will confirm you that Ant is configured properly.
Advertisements

2 thoughts on “Apache ANT Setup

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s