Re: Knowing the build fail status of ant in batch script

2006-07-11 Thread Jeffrey E Care
Please do not use the Ant user mailing list for personal correspondence. Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer

Re: Knowing the build fail status of ant in batch script

2006-07-11 Thread ilango
Hi Venkatesh I have a friend called Venkatesh babu and he is from bangalore. Just wondering if you were the person I know Venkatesh Babu <[EMAIL PROTECTED]> wrote: Hello All, I'm calling an ant target from within my batch script as follows: cmd/C ant -f mailer.xml sendmail My problem is that i

Knowing the build fail status of ant in batch script

2006-07-11 Thread Venkatesh Babu
Hello All, I'm calling an ant target from within my batch script as follows: cmd/C ant -f mailer.xml sendmail My problem is that if the sendmail target fails, I have to stop execution of my batch script. For that I tried adding the following statement after the ant call: if %ERRORLEVEL% != 0 go