To
upgrade the ANT into the Eclipse, First you need to download the
latest version of ANT
anywhere on you machine.
Once
you are done with the download then go to
Eclipse
→ Windows → Preferences → Ant
→ Runtime → Ant Home and Select the
downloaded folder.
Now
your Eclipse will use the latest version of ANT :)