SV: Handling Exec errorcodes

2005-03-15 Thread Henrik Skovhus Poulsen
. Is there a way to get such a error message ?? -Oprindelig meddelelse- Fra: Dick, Brian E. [mailto:[EMAIL PROTECTED] Sendt: 15. marts 2005 14:49 Til: Ant Users List Emne: RE: Handling Exec errorcodes At the beginning of your sqlplus script you should add something similar to the

RE: Handling Exec errorcodes

2005-03-15 Thread Dick, Brian E.
Use the sqlplus -L switch. -Original Message- From: Henrik Skovhus Poulsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 9:23 AM To: Ant Users List Subject: SV: Handling Exec errorcodes Hi Thanks for the input. I'm currently only using ant 1.6 but would need to upgra

SV: Handling Exec errorcodes

2005-03-15 Thread Henrik Skovhus Poulsen
ere I try to make the database connection, and it failes there. I don't get to the script file. This is what im doing: -Oprindelig meddelelse- Fra: Dick, Brian E. [mailto:[EMAIL PROTECTED] Sendt: 15. marts 2005 14:49 Til: Ant Users List Emne: RE: Handling Exec errorcodes At the

RE: Handling Exec errorcodes

2005-03-15 Thread Dick, Brian E.
lplus scripts, you can use ant's redirector feature to prepend them at runtime. -Original Message- From: Henrik Skovhus Poulsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 8:37 AM To: user@ant.apache.org Subject: Handling Exec errorcodes Hi I'm currently trying

Handling Exec errorcodes

2005-03-15 Thread Henrik Skovhus Poulsen
Hi I'm currently trying to call sqlplus from the exec task. But I kinda need away to know if the command succedes or not. I been using the resultproperty option to see if the return code is different from when the command is a success and when its a failure. But this is not the case. Does anyone