Packaging error apache-ant or packaging error ant.bat

I created this topic after solving my problem and hope to help anyone who is experiencing it, if the time to package gives apache-ant / ant.bat error just check the following box

291792-antttt.png

I hope it helps you !