Tutorials Navigation

Tutorials: 15,251 Categories: 40
Total Tutorial Views: 29,157,265

Apache Ant Tutorial - Environment Setup

Tutorial Name: Apache Ant Tutorial - Environment Setup  

Category: PC Miscellaneous

Submitted By: Mooneye

Date Added:

Comments: 0

Views: 158

Share:


Installing Apache Ant:

It is assumed that you have already downloaded and installed Java Development Kit (JDK) on your computer. If not, please follow the instructions here.

-Ensure that the JAVA_HOME environment variable is set to the folder where your JDK is installed.

-Download the binaries from [ Register or Signin to view external links. ]

-Unzip the zip file to a convenient location c:\folder. using Winzip, winRAR, 7-zip or similar tools.

-Create a new environment variable called ANT_HOME that points to the Ant installation folder, in this case c:\apache-ant-1.8.2-bin folder.

-Append the path to the Apache Ant batch file to the PATH environment variable. In our case this would be the c:\apache-ant-1.8.2-bin\bin folder.




Verifying Apache Ant Installation:

To verify the successful installation of Apache Ant on your computer, type ant on your command prompt.

You should see an output similar to

C:\>ant -version


If you do not see the above output, then please verify that you have followed the installation steps properly.




Installing Eclipse:

This tutorial also covers integration of Ant with Eclipse IDE. Hence, if you have not installed Eclipse already, please download and install Eclipse

To install Eclipse

1. Download the latest Eclipse binaries from [ Register or Signin to view external links. ]

2. Unzip the Eclipse binaries to a convenient location, say c:\folder

3. Run Eclipse from c:\eclipse\eclipse.exe

Ratings

Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"Apache Ant Tutorial - Environment Setup" :: Login/Create an Account :: 0 comments

If you would like to post a comment please signin to your account or register for an account.