https://issues.liferay.com/browse/LPS-42677



According to this article:

https://www.liferay.com/it/web/raymond.auge/blog/-/blogs/liferay-6-2-targets-java-6-and-ant-1-8

Liferay 6.2 should requires Ant 1.8 or higher.