You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Soref (JIRA)" <ji...@apache.org> on 2014/03/27 03:03:16 UTC

[jira] [Created] (CB-6357) platform check should install each platform to determine if they're functional and their version number

Josh Soref created CB-6357:
------------------------------

             Summary: platform check should install each platform to determine if they're functional and their version number
                 Key: CB-6357
                 URL: https://issues.apache.org/jira/browse/CB-6357
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.5.0
            Reporter: Josh Soref
            Assignee: Josh Soref


Currently `cordova platform check` has a few behaviors which are not necessarily ideal:

1. It relies on the platforms.js file to have valid versions which match what is actually in the cached ~/.cordova/lib space.
2. If a platform is installed for which there's a newer version which won't install (e.g. you're on Windows and you have iOS installed), it could tell you that there's an upgrade available, however, you won't be able to install it.

We'd like to fix these limitations by having platform check actually run the version script against a live project. This should mean that there will not be any false positives: what you see is what you really could get.



--
This message was sent by Atlassian JIRA
(v6.2#6252)