installing ant in windows

this is the simple ways, i think :)

1. download ant from ant site.

2. extract all and locate in D:\ant  (sample).

3. add variable for ANT_HOME

my computer =>right click => properties => advance => environment variable => add variable “ANT_HOME” set value “D:\ant”.

4. add variable for JAVA_HOME

my computer =>right click => properties => advance => environment variable => add variable “JAVA_HOME” set value “C:\Program Files\Java\jdk1.6.0_06″ <= location for javac.exe.

5. add variable for PATH.

my computer =>right click => properties => advance => environment variable => add variable “PATH” set value “C:\Program Files\Java\jdk1.6.0_06\bin; D:\ant\bin” .

cek your installation with typing “ant” in comment prompt.

Buildfile: build.xml does not exist!
Build failed

is ant was running, try to type “ant -version”

Apache Ant version 1.7.1 compiled on June 27 2008

Installing was successfull…..

Tinggalkan Balasan

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 / Ubah )

Twitter picture

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

Facebook photo

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

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.