Hans,

"exit /B code" did NOT deliver the error code, when I tried it the day
before yesterday. Only "exit code".
But I'll take again a look at it.

Victor

On Wed, Oct 8, 2008 at 4:40 PM, Hans Dockter <[EMAIL PROTECTED]> wrote:
> Hi Victor,
>
>>
>> This is a ANT issue. See e.g.
>>
>> http://continuum.apache.org/faqs.html#how-does-continuum-detect-a-successful-build-with-ant
>> I've added a line "exit %ANT_ERROR%" to end of "ant.bat", so it looks
>> now like this:
>> ===============
>> [...]
>> :omega
>>
>> exit %ANT_ERROR%
>
> We had a such a line in our gradle.bat. The problem is that if the Ant
> builds fails, the command shell windows closes. But the link above you have
> provided uses /B option which prevents this. It looks like that we can
> reintroduce the gradle windows scripts.
>
> Why on earth I have missed the thing with the /B option I can't tell. I was
> looking at the same manual page at that time than now. And it is the only
> option the exit command has. We have spend a lot of resources into the move
> to launch4j we would have spend better otherwise. But after all it is very
> good news that we can get rid of launch4j now.
>
> What I would do is to redo the changes we did a couple of months ago and
> reanimate the .bat script we were using then. I'm no expert at all with
> those scripts. Would you mind having a look at it and see if it has some
> major warts. It is more or less a copy of the groovy bat script. There has
> always been an issue with spaces in path names. I would ping you after I
> have done the role back.
>
> Cheers,
>
> - Hans
>
> --
> Hans Dockter
> Gradle Project lead
> http://www.gradle.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to