Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4207

unable to load local platforms from the .cordova/config.json file on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: cordova-cli
    • Labels:
      None
    • Environment:

      Windows

      Description

      Editing the .cordova/config.json file and adding :
      "lib": {"wp7":

      { "uri":"C:\\Developer\\GitHub\\cordova-wp8\\wp7", "version" : "", "id" : ""}

      ,
      "wp8":

      { "uri":"C:\\Developer\\GitHub\\cordova-wp8\\wp8", "version" : "", "id" : ""}

      }
      Should result in those platforms being built using the specified uri as the root of the repository. Instead, this process gets skipped since the has_custom_path function in config.js checks the url.protocol of the incoming uri, which is undefined in windows (know node bug). We need some kind of workaround for this though.

        Attachments

          Activity

            People

            • Assignee:
              filmaj Filip Maj
              Reporter:
              bennmapes Benn
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: