You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2013/03/06 00:49:35 UTC

[2/3] docs commit: [CB-2611] added instructions for upgrading Blackberry for 2.2 from 2.1

[CB-2611] added instructions for upgrading Blackberry for 2.2 from 2.1


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/9f11d484
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/9f11d484
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/9f11d484

Branch: refs/heads/master
Commit: 9f11d484942c832ac75bab3cf20b5e2a04c587c5
Parents: 7a1499f
Author: doggerelverse <lo...@adobe.com>
Authored: Tue Mar 5 15:07:21 2013 -0800
Committer: Tim Kim <ti...@adobe.com>
Committed: Tue Mar 5 15:49:12 2013 -0800

----------------------------------------------------------------------
 docs/en/2.2.0/guide/upgrading/blackberry/index.md |   46 ++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/9f11d484/docs/en/2.2.0/guide/upgrading/blackberry/index.md
----------------------------------------------------------------------
diff --git a/docs/en/2.2.0/guide/upgrading/blackberry/index.md b/docs/en/2.2.0/guide/upgrading/blackberry/index.md
index e7853e6..5748d5d 100644
--- a/docs/en/2.2.0/guide/upgrading/blackberry/index.md
+++ b/docs/en/2.2.0/guide/upgrading/blackberry/index.md
@@ -22,6 +22,52 @@ 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.2.0 from 2.1.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.2.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.2.0.js` file.
+
+
+Updating the sample folder (ie, updating using the ant tools):
+
+1. Open the `sample/lib/` folder.
+2. Update the .jar file in the `cordova.2.1.0/ext/` folder.
+3. Update the contents of the `cordova.2.1.0/ext-air/` folder.
+4. Update the .js file in the `cordova.2.1.0/javascript/` folder.
+5. Open the `sample/lib/` folder and rename the `cordova.2.1.0/` folder to `cordova.2.2.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.2.0.js` file.
+
+
+## Upgrade to 2.1.0 from 2.0.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.1.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.1.0.js` file.
+
+
+Updating the sample folder (ie, updating using the ant tools):
+
+1. Open the `sample/lib/` folder.
+2. Update the .jar file in the `cordova.2.0.0/ext/` folder.
+3. Update the contents of the `cordova.2.0.0/ext-air/` folder.
+4. Update the .js file in the `cordova.2.0.0/javascript/` folder.
+5. Open the `sample/lib/` folder and rename the `cordova.2.0.0/` folder to `cordova.2.1.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.1.0.js` file.
+
+
 ## Upgrade to 2.0.0 from 1.9.0 ##
 
 Updating just the www folder: