Problem : The ant version ws 1.7
Solution : Upgrade the version of ant at least 1.8
$sudo apt-get install ant1.8