You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/01/11 03:29:12 UTC

[jira] [Resolved] (CB-2204) ./bin/create script should exit out with non-zero code if fails

     [ https://issues.apache.org/jira/browse/CB-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-2204.
---------------------------

    Resolution: Fixed
      Assignee: Filip Maj  (was: Joe Bowser)

Fixed in [dc94fc3|https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=dc94fc39ec8bac1cb09eaa264a74266538a1b9c4].
                
> ./bin/create script should exit out with non-zero code if fails
> ---------------------------------------------------------------
>
>                 Key: CB-2204
>                 URL: https://issues.apache.org/jira/browse/CB-2204
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.3.0
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 2.4.0
>
>
> I noticed this problem when setting up medic with android.
> In this commit: 25aef94 (https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;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:
> https://github.com/apache/cordova-android/blob/master/bin/create#L72
> I suggest patching it so it just exits with a code of 1, instead of trying to be fancy. Thoughts?

--
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: http://www.atlassian.com/software/jira