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

Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json

    XMLWordPrintableJSON

    Details

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

      Description

      The caching of the platform within libs/ is a source of frustration to the continuous build, and to people constantly testing the tool locally against local platform checkouts. It causes you to sometimes not point to where you think it's pointing if the symlink already exists and it's different from what you specified in config.json.

      I think the best thing here would be to just not use the libs/ directory at all for the non-lazy-loaded case.

        Attachments

          Activity

            People

            • Assignee:
              drkemp David Kemp
              Reporter:
              agrieve Andrew Grieve
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: