cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-2204) ./bin/create script should exit out with non-zero code if fails
Date Fri, 11 Jan 2013 02:19:12 GMT


Andrew Grieve commented on CB-2204:

Another option is to just "exit 1" instead of trying to preserve the exit code. If the trap
stuff works, it looks like it'll be quite useful (prints out last two commands)
> ./bin/create script should exit out with non-zero code if fails
> ---------------------------------------------------------------
>                 Key: CB-2204
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.3.0
>            Reporter: Filip Maj
>            Assignee: Joe Bowser
>             Fix For: 2.4.0
> I noticed this problem when setting up medic with android.
> In this commit: 25aef94 (;a=commit;h=25aef945d14eae7167ece73c11e32d8471114bee),
the jar fails to compile, and as such the create script fails.
> However, it exits with code 0. I believe this line is the culprit:
> I suggest patching it so it just exits with a code of 1, instead of trying to be fancy.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message