cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lorinb...@apache.org
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
Date Mon, 03 Jun 2013 22:49:12 GMT
[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 <lorin@adobe.com>
Authored: Mon Jun 3 15:08:56 2013 -0700
Committer: lorinbeer <lorin@adobe.com>
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


Mime
View raw message