Re: Capturing Error with Command

2005-05-26 Thread Matt Benson
You can use the resultproperty attribute to capture the return code of the process. The task should help you determine whether the executable can be found. -Matt --- Kapil Bajaj <[EMAIL PROTECTED]> wrote: > Hi All > > I am trying to execute Command using Tag in > Ant 1.6 > > while executin

Capturing Error with Command

2005-05-26 Thread Kapil Bajaj
Hi All I am trying to execute Command using 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