and specify the variable name: ANT_HOME
variable value: the location of the
ant folder.
in the user variables section --> click on the new button
and specify the variable name: PATH
variable value: the location of the ant bin folder.
and open command prompt(cmd),and type "ant"
then u can see build failed message.
To set the path for the Cygwin
JAVA_HOME = /cygdrive/c/Progra~1/Java/jdk1.5.0