The version of Ant packaged with Fedora is quite old.
Ant in the upcoming Fedora 15 is updated to the latest upstream version. We don't plan updating ant in already released versions because this will break builds for a number of dependant packages(e.g. eclipse and others).