Added exit on error code 1, theres no need to execute if ant isnt
present