ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pankaj Arora01" <Pankaj_Aror...@infosys.com>
Subject Trapping ORA errors in ANT
Date Tue, 03 Apr 2007 06:06:48 GMT
Hi 

 
I am developing my own tasks which extend from ExecTask of ANT.

I have developed SQLPlustask but I am facing an issue in the same.
 

I need to provide functionality of Option of terminating the build
process if some ORA error is thrown.

Ant method setFailIfExecutionFails() does not catches ORA error &
neither I am able to get the return code of the executable statement.

I tried reading the error stream of the Process that is executed but
couldn't find any method through which I can access the error stream.
 

Any pointers in this regard would be highly appreciated.

 

Regards, 

Pankaj

 

 

 

 



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message