Hi,
I have installed cygwin in my windows XP machine and add path with
ant home. I am able to login into the cygwin but when i issue ant command it is throwing below issue. But the same executing fine when i issue ant.bat.
>which bash
/cygdrive/c/cygwin/bin/bash
>bash
bash-3.2$ ant
bash: /cygdrive/d/cc/../ant
/apache-ant-1.6.5/bin/ant: /bin/sh: bad interpreter: No such file or directory
bash-3.2$ ant.bat
Buildfile: build.xml does not exist!
Build failed
Could some one please help me to resolve this issue.
One more think I am wondering why it is returning /cygdrive/c/cygwin/bin/bash when we issue which bash command. It should be usr/bin/bash.
Thanks in Advance
Shan