I am trying to execute Command using <exec> Tag in Ant 1.6
while executing command I am trying to redirect the output to text File. Here I want if my exec Command Fails or Executable I am trying to execute is not available then I should be able to Trap that event or Error Message or set some property