Use ant 1.9.4 instead of the 1.8 provided by Ubuntu 12.04 .