Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B719D303 for ; Sat, 14 Jul 2012 23:18:39 +0000 (UTC) Received: (qmail 35851 invoked by uid 500); 14 Jul 2012 23:18:39 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 35825 invoked by uid 500); 14 Jul 2012 23:18:39 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 35818 invoked by uid 99); 14 Jul 2012 23:18:39 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jul 2012 23:18:39 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BE9AB143CD; Sat, 14 Jul 2012 23:18:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mwbrooks@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: docs commit: JIRA CB-1056 added upgrade guide for 1.9.0 to 2.0.0 Message-Id: <20120714231838.BE9AB143CD@tyr.zones.apache.org> Date: Sat, 14 Jul 2012 23:18:38 +0000 (UTC) Updated Branches: refs/heads/master 7700f86df -> 310542051 JIRA CB-1056 added upgrade guide for 1.9.0 to 2.0.0 Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/31054205 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/31054205 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/31054205 Branch: refs/heads/master Commit: 3105420515c3add3d90348b54f65c155c1188b77 Parents: 7700f86 Author: Lorin Beer Authored: Fri Jul 13 16:42:17 2012 -0700 Committer: Michael Brooks Committed: Sat Jul 14 16:18:22 2012 -0700 ---------------------------------------------------------------------- docs/en/edge/guide/upgrading/blackberry/index.md | 47 +++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/31054205/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 c047267..e7853e6 100644 --- a/docs/en/edge/guide/upgrading/blackberry/index.md +++ b/docs/en/edge/guide/upgrading/blackberry/index.md @@ -22,6 +22,53 @@ 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. +## Upgrade to 2.0.0 from 1.9.0 ## + +Updating just the www folder: + +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. Copy the new `cordova-2.0.0.js` into your project. + - If playbook, then update the .js file in the `playbook/` folder. +5. Update your HTML to use the new `cordova-2.0.0.js` file. +6. Update your `www/plugins.xml` file. Two plugins changed their + namespace/service label. Change the old entries for the Capture and + Contact plugins from: + + + + + To: + + + + + +Updating the sample folder (ie, updating using the ant tools): + +1. Open the `sample/lib/` folder. +2. Update the .jar file in the `cordova.1.9.0/ext/` folder. +3. Update the contents of the `cordova.1.9.0/ext-air/` folder. +4. Update the .js file in the `cordova.1.9.0/javascript/` folder. +5. Open the `sample/lib/` folder and rename the `cordova.1.9.0/` folder to `cordova.2.0.0/`. +6. Type `ant blackberry build` or `ant playbook build` to update the `www/` folder with updated Cordova. +7. Open the `www/` folder and update your HTML to use the new `cordova-2.0.0.js` file. +8. Open the `www/` folder and update the `plugins.xml` file. Two plugins + changed their namespace/service label. Change the old entries for the + Capture and Contact plugins from: + + + + + To: + + + + + + + - To upgrade to 1.8.0, please go from 1.7.0 ## Upgrade to 1.8.0 from 1.7.0 ##