If you run ant in Cygwin and get warning as below:
MS-DOS style path detected: C:hadoopapache-ant-1.8.2
Preferred POSIX equivalent is: /cygdrive/c/hadoop/apache-ant-1.8.2
CYGWIN environment variable option “nodosfilewarning” turns off this warning.
Consult the user’s guide for more details about POSIX paths:
Buildfile: build.xml does not exist!
To solve this problem:
– Just Remove ANT_HOME environment from the computer environment variable.