apache - Ant command not found in bash (windows 32bit) -
i installed apache ant using link http://www.mkyong.com/ant/how-to-install-apache-ant-on-windows/
i trying build files in git bash.
shows following error when type ant:
bash:ant:command not found
i want use cd build
command.
check path when in bash session.
echo $path
don't forget that, after updating path mentioned in link (through environment variable control panel), need open new cmd session , launch git-bash.exe
in order session inherit modified path.
cd c:\path\to\git git-bash.exe echo $path
the op confirms in comment path now:
d/users/h169717/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin/:/mingw32/bin:/usr/bin:/d/users/h169717/bin:/c/program files/apache-ant-1.9.6/bin:/c/program files/java/jre1.8.0_72/bin:/c/program files/apache-ant-1.9.6/bin:/usr/bin/vendor_perl:/usr/bin/core_perl
and ant
working.
Comments
Post a Comment