Add a new option -nouserlib to the ant command. This allows running ant without loading the jars from ${user.home}/.ant/lib. This is useful for building ant.