Re: How to get debug info on java task failure

2006-09-28 Thread Robert Clark
On Thursday September 28, 2006 13:31, [EMAIL PROTECTED] wrote: > The %ERRORLEVEL% value is 0, so I'm really no closer to > understanding why the execution of the class works at the command > line and fails in Ant. > > Is there a way to get more information from Ant? You can use the -v/-verbose or

re :How to get debug info on java task failure]

2006-09-28 Thread cknell
I found a typo was causing my error. Thanks. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: [EMAIL PROTECTED] Sent: Thu, 28 Sep 2006 13:31:16 -0400 To: user@ant.apache.org Subject: RE: Re: How to get debug info on java task failure The %ERRORLEVEL

RE: Re: How to get debug info on java task failure

2006-09-28 Thread cknell
eilly <[EMAIL PROTECTED]> Sent: Thu, 28 Sep 2006 18:17:13 +0100 To: "Ant Users List" Subject: Re: How to get debug info on java task failure "Java returned: 1" means that the java program called System.exit(1) to finish its execution. This return code is not shown

Re: How to get debug info on java task failure

2006-09-28 Thread Peter Reilly
"Java returned: 1" means that the java program called System.exit(1) to finish its execution. This return code is not shown when you call from the command line, it is placed in the env variable %ERRORLEVEL% on dos, so after calling the java program call echo %ERRORLEVEL% Peter On 9/28/06, [EMAIL

How to get debug info on java task failure

2006-09-28 Thread cknell
I am executing a single task. I have the failonerror attribute set to "true". It fails, but I don't have any information to work with. This is the target. SQL string is ${sql.string} The output I get is: "BUILD FAILED H:\dev\java\buildj.xml:46