Updated Branches: refs/heads/master fa1959cd6 -> e0165b83c
[CB-3923] 2.8.0 to 2.9.0 upgrade guide, fixed version string in previous upgrade guide Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/e0165b83 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/e0165b83 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/e0165b83 Branch: refs/heads/master Commit: e0165b83cc49bca03cc924ea29f4c5ff5b3213b0 Parents: fa1959c Author: lorinbeer <[email protected]> Authored: Tue Jun 18 11:52:21 2013 -0700 Committer: lorinbeer <[email protected]> Committed: Tue Jun 18 11:52:21 2013 -0700 ---------------------------------------------------------------------- .../en/edge/guide/upgrading/blackberry/index.md | 25 +++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e0165b83/docs/en/edge/guide/upgrading/blackberry/index.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/guide/upgrading/blackberry/index.md b/docs/en/edge/guide/upgrading/blackberry/index.md index cfce332..3242da6 100644 --- a/docs/en/edge/guide/upgrading/blackberry/index.md +++ b/docs/en/edge/guide/upgrading/blackberry/index.md @@ -22,6 +22,29 @@ Upgrading Cordova BlackBerry This document describes the process of upgrading Cordova projects to the latest released version +## Upgrading Cordova 2.8.0 projects to 2.9.0 ## + +### BlackBerry10 ### + +1. **Download and extract the Cordova 2.9.0 source** to a **permanent folder location** on your hard drive (say to ~/Cordova-2.9.0) +2. **Quit any running IDE's** Eclipse, Momentics and the lik +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_blackberry) from the command-line tools - this will be the home of your updated project +5. **Copy** your projects source from the old project's /www folder to the new project's /www folder +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.js** file + +### BlackBerryOS/Playbook ### + +1. **Download and extract the Cordova 2.9.0 source** to a **permanent folder location** on your hard drive (say to ~/Cordova-2.9.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.js** file from the new project into your **www** folder, and delete your **www/cordova.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.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 + ## Upgrading Cordova 2.7.0 projects to 2.8.0 ## ### BlackBerry10 ### @@ -42,7 +65,7 @@ Also note that the cordova js script file is now called 'cordova.js' and no long 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 +5. **Copy** the **www/cordova.js** file from the new project into your **www** folder, and delete your **www/cordova.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.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
