Running ANT in Cygwin returns warning – MS-DOS style path detected

If you run ant in Cygwin and get warning as below:


$ ant

cygwin warning:

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!

Build failed



To solve this problem:

–           Just Remove ANT_HOME environment from the computer environment variable.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your 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 )

Connecting to %s