cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6120) `cordova platform` should not fail just because some platform is broken
Date Thu, 27 Feb 2014 18:13:22 GMT

    [ https://issues.apache.org/jira/browse/CB-6120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914815#comment-13914815
] 

ASF subversion and git services commented on CB-6120:
-----------------------------------------------------

Commit a235d454d4b79fab5df8000e628d8e245c229fe1 in cordova-cli's branch refs/heads/master
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=a235d45 ]

CB-6120 `cordova platform` should not fail when version script fails.

cordova platform check should always offer to upgrade broken platforms

github: close #132


> `cordova platform` should not fail just because some platform is broken
> -----------------------------------------------------------------------
>
>                 Key: CB-6120
>                 URL: https://issues.apache.org/jira/browse/CB-6120
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.4.0
>         Environment: OS X 10.9.2
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>
> I don't have whatever magical stuff is required for iOS development.
> I ran `cordova-mobile-spec/createmobilespec.sh`
> I entered the `mobilespec` directory and did `cordova platform add blackberry10`
> I tried to do `cordova platform` to see a list of my platforms:
> mobilespec $ ~/Cordova/cordova-cli/bin/cordova platform
> Error: platforms/ios/cordova/version: Command failed with exit code 1 Error output:
> mobilespec/platforms/ios/cordova/version: line 33: mobilespec/platforms/ios/CordovaLib/VERSION:
No such file or directory
>     at ChildProcess.whenDone (cordova-cli/src/superspawn.js:112:23)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:735:16)
>     at Socket.ChildProcess.spawn.stdin (child_process.js:948:11)
>     at Socket.EventEmitter.emit (events.js:95:17)
>     at Pipe.Socket._destroy._handle.onread [as close] (net.js:466:12)
> Here's a slightly more verbose indication of the failure on the iOS side:
> mobilespec $ sh -x platforms/ios/cordova/version
> ...
> + VERSION_FILE_PATH=.../platforms/ios/CordovaLib/VERSION
> platforms/ios/cordova/version: line 33: platforms/ios/CordovaLib/VERSION: No such file
or directory
> + VERSION=
> Note that as a user, i don't care how many platforms are broken, I want a list of my
platforms.
> The expected output is roughly:
> android (3.4.0-dev), blackberry10 (3.4.0), ios (broken)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message