On 4/24/07, prasad kumar <[EMAIL PROTECTED]> wrote:
Hi all,
I implemented the cruise control but the problem is ofter taking sucessfull
build,while sending the mails it is throwing exception as(i mentioned to whom
do i need to send the mails(mailhost,port no in config.xml)
net.sourcef
Thanks. This helps. We came up with a solution based on your input...
This is a file: @{file}
${message}
The length is not compared to the number of file, but rather the sum of
the length of all the included file. Since we w
Handling error codes is in the responsability of the shell. If the shell does
not pass this Ant cant do anything.
Just an idea ...
call @{batch}.bat
if %ERRORLEVEL% echo %ERRORLEVEL% > @{batch}.err
Removing the /B would just mean it would return 0 all the time.
As it happens I can't actually modify the batch file (its one that
ships with another product that I just happen to be invoking).
I suppose I could use a wrapper batch file that caught the return code
and then wrote a file out - but t
Hi,
-Original Message-
From: prasad kumar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 8:59 AM
To: user@ant.apache.org
Subject: checkout,tagging and zipping files
/*
[ ... ]
but if i come to cruisecontrol,in config.xml i have given the above
build.xml path,ofter starting
Modify your batch file so that it does not use the /B flag.
Alternatively your batch could write a file as error marker and your buildfile
could check
that via .
Jan
>-Ursprüngliche Nachricht-
>Von: Chris Dudley [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 25. April 2007 09:36
>An:
So how can I get ANT to detect when the batch file goes bang?
I tried getting ANT to invoke the batch file direct instead of
invoking cmd /c test.bat and that made no difference.
ANT invokes a bash shell on unix and then runs a shell script in that
and yet return codes work there, just not on Win