Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CCBA109DB for ; Mon, 3 Jun 2013 22:49:11 +0000 (UTC) Received: (qmail 56507 invoked by uid 500); 3 Jun 2013 22:49:11 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 56486 invoked by uid 500); 3 Jun 2013 22:49:11 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 56450 invoked by uid 99); 3 Jun 2013 22:49:11 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 22:49:11 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 20E55812E04; Mon, 3 Jun 2013 22:49:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: lorinbeer@apache.org To: commits@cordova.apache.org Date: Mon, 03 Jun 2013 22:49:12 -0000 Message-Id: <5a5f074edb8e4a5284f337093cf364ba@git.apache.org> In-Reply-To: <4ea7a777769a4028909e3330cc6a32f2@git.apache.org> References: <4ea7a777769a4028909e3330cc6a32f2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] docs commit: [CB-3538] 2.7 to 2.8 upgrade guide for BB10 and playbook/os. Fixes link to wrong section in 2.6 guide [CB-3538] 2.7 to 2.8 upgrade guide for BB10 and playbook/os. Fixes link to wrong section in 2.6 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/0b2f6d63 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/0b2f6d63 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/0b2f6d63 Branch: refs/heads/2.8.x Commit: 0b2f6d631696682419f5a7950fc218c3968ff72a Parents: 2baed28 Author: lorinbeer Authored: Mon Jun 3 15:08:56 2013 -0700 Committer: lorinbeer Committed: Mon Jun 3 15:48:52 2013 -0700 ---------------------------------------------------------------------- docs/en/2.6.0/guide/upgrading/blackberry/index.md | 2 +- docs/en/edge/guide/upgrading/blackberry/index.md | 32 +++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0b2f6d63/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 01d0e67..fb0d160 100644 --- a/docs/en/2.6.0/guide/upgrading/blackberry/index.md +++ b/docs/en/2.6.0/guide/upgrading/blackberry/index.md @@ -28,7 +28,7 @@ This document is for people who need to upgrade their Cordova versions from an o 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 +4. [**Create a new project**](guide_command-line_index.md.html#Command-Line%20Usage_blackberry) 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 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0b2f6d63/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 cd713e6..b722380 100644 --- a/docs/en/edge/guide/upgrading/blackberry/index.md +++ b/docs/en/edge/guide/upgrading/blackberry/index.md @@ -22,12 +22,42 @@ Upgrading Cordova BlackBerry This document describes the process of upgrading Cordova projects to the latest released version + + + + +## Upgrading Cordova 2.7.0 projects to 2.8.0 ## + +### BlackBerry10 ### + +BlackBerry10 uses the new CLI tooling and manages core api's as plugins. The instructions migrate your project to a new project, rather than updating an existing project, due to the complexity of updating an old project. +Also note that the cordova js script file is now called 'cordova.js' and no longer contains a version string. + +1. **Download and extract the Cordova 2.8.0 source** to a **permanent folder location** on your hard drive (say to ~/Cordova-2.8.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_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.8.0 source** to a **permanent folder location** on your hard drive (say to ~/Cordova-2.8.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.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.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 +4. [**Create a new project**](guide_command-line_index.md.html#Command-Line%20Usage_blackberry) 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