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

Upgrading project from cordova 3.2.0 to 3.3.0 did not update cordova.js in all locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • None
    • cordova-cli
    • None

    Description

      I tried updating my cordova project today to 3.3.0.

      I followed the instructions here:
      http://cordova.apache.org/docs/en/3.3.0/guide_cli_index.md.html#The%20Command-Line%20Interface_updating_cordova_and_your_project

      This did not update cordova.js in all the locations in my project. For iOS projects, cordova.js lives in three separate locations:

      1. /platforms/ios/CordovaLib/cordova.js

      2. /platforms/ios/www/cordova.js

      3. /platforms/ios/platform_www/cordova.js

      When I upgraded my project, only cordova.js in locations 1 & 2 were updated. 3. was not.

      Unfortunately, that meant next time I built my project with `cordova build ios`, the cordova.js in location '2' was clobbered with the version from location '3'.

      The same thing appears to happen on Android too.

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            asgeo1 Adam George
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: