Updated Branches: refs/heads/2.8.x 40331cf85 -> 0b2f6d631
[CB-3559] adding 2.6.0 upgrade guide for blackberry Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/e09625bd Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/e09625bd Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/e09625bd Branch: refs/heads/2.8.x Commit: e09625bda3e6180d678e0916c5e3373e77d8cd11 Parents: 40331cf Author: lorinbeer <[email protected]> Authored: Fri May 31 16:45:17 2013 -0700 Committer: lorinbeer <[email protected]> Committed: Mon Jun 3 15:48:28 2013 -0700 ---------------------------------------------------------------------- docs/en/2.6.0/guide/upgrading/blackberry/index.md | 35 ++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e09625bd/docs/en/2.6.0/guide/upgrading/blackberry/index.md ---------------------------------------------------------------------- diff --git a/docs/en/2.6.0/guide/upgrading/blackberry/index.md b/docs/en/2.6.0/guide/upgrading/blackberry/index.md index e7853e6..01d0e67 100644 --- a/docs/en/2.6.0/guide/upgrading/blackberry/index.md +++ b/docs/en/2.6.0/guide/upgrading/blackberry/index.md @@ -22,6 +22,41 @@ Upgrading Cordova BlackBerry This document is for people who need to upgrade their Cordova versions from an older version to a current version of Cordova. + +## Upgrading Cordova 2.6.0 projects to 2.7.0 ## + +1. **Download and extract the Cordova 2.7.0 source** to a **permanent folder location** on your hard drive (say to ~/Cordova-2.7.0) +2. **Quit any running IDE's** Eclipse, Momentics and the like. +3. **Navigate** to the directory where you put the downloaded source above, using a unix like terminal: **Terminal.app**, **Bash**, **Cygwin**, etc. +4. [**Create a new project**](guide_command-line_index.md.html#Command-Line%20Usage_ios) from the command-line tools - you will have to grab the assets from this new project +5. **Copy** the **www/cordova-2.7.0.js** file from the new project into your **www** folder, and delete your **www/cordova-2.6.0.js** file +6. **Update** the Cordova script reference in your **www/index.html** file (and any other files that contain the script reference) to point to the new **cordova-2.7.0.js** file +7. **Copy** the **native** folder from the new project into the existing project, overwriting the old **native** folder +8. **Copy** the **lib** folder from the new project into the existing project, overwriting the old **lib** folder +9. **Copy** the **cordova** folder from the new project into the existing project, overwriting the old **cordova** folder + +## Upgrade to 2.6.0 from 2.5.0 ## + +Updating the PhoneGap download folder: + +It is recommended that you download a fresh copy of the entire folder. + +However, here are the new parts needed for the piecemeal update: +1. Update the cordova.blackberry.js file in the âPhonegap-2.6.0/lib/blackberry/javascriptâ folder +2. Update the âextâ, âext-airâ, and âext-qnxâ in the âPhonegap-2.6.0/lib/blackberry/frameworkâ folder +3. Update the âbuild.xmlâ file in the âPhonegap-2.6.0/lib/blackberryâ folder +4. Update the the âPhonegap-2.6.0/lib/blackberry/binâ folder +5. Update the âVERSIONâ file in the âPhonegap-2.6.0/lib/blackberryâ folder + +Updating the example/ folder or migrating an existing project: + +1. Open your `www/` folder, which contains your app. +2. Remove and update the .jar file in the `ext/` folder. +3. Update the contents of the `ext-air/` folder. +4. Update the contents of the `ext-qnx/` folder. +4. Copy the new `cordova-2.6.0.js` into your project. +5. Update your HTML to use the new `cordova-2.6.0.js` file. + ## Upgrade to 2.0.0 from 1.9.0 ## Updating just the www folder:
