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:

http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Buildfile: build.xml does not exist!

Build failed

 

 

To solve this problem:

–           Just Remove ANT_HOME environment from the computer environment variable.

 

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s