You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by lo...@apache.org on 2013/09/19 22:48:24 UTC

docs commit: 3.0 to 3.1 upgrading guide

Updated Branches:
  refs/heads/master 2bb27cfb9 -> 027c58582


3.0 to 3.1 upgrading 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/027c5858
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/027c5858
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/027c5858

Branch: refs/heads/master
Commit: 027c585824e179f888fec3b980b33e22908693b3
Parents: 2bb27cf
Author: lorinbeer <lo...@adobe.com>
Authored: Thu Sep 19 13:47:29 2013 -0700
Committer: lorinbeer <lo...@adobe.com>
Committed: Thu Sep 19 13:47:29 2013 -0700

----------------------------------------------------------------------
 .../guide/platforms/blackberry10/upgrading.md   | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/027c5858/docs/en/edge/guide/platforms/blackberry10/upgrading.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/blackberry10/upgrading.md b/docs/en/edge/guide/platforms/blackberry10/upgrading.md
index 85165f8..8681df2 100644
--- a/docs/en/edge/guide/platforms/blackberry10/upgrading.md
+++ b/docs/en/edge/guide/platforms/blackberry10/upgrading.md
@@ -24,6 +24,28 @@ Most of these instructions apply to projects created with an older set
 of command-line tools that precede the `cordova` CLI utility. See The Command-line Interface for information how to update the
 version of the CLI.
 
+## Upgrade to 3.1.0 from 3.0.0 ##
+
+1. Create a new Apache Cordova 3.1.0 project using the cordova CLI, as
+   described in The Command-line Interface.
+
+2. Add your platforms to the cordova project, for example: `cordova
+   platform add blackberry10`.
+
+3. Copy the contents of the original project's `www` directory to the `www` directory
+   at the root of the cordova project you just created.
+
+4. Copy or overwrite any native assets from your original project
+   (`Resources`, etc.)
+
+5. Copy your `config.xml` into the `www` directory, and remove any plugin definitions. You will modify settings here instead of the platform directory.
+
+6. Use the cordova CLI tool to install any plugins you need. Note that
+   the CLI handles all core APIs as plugins, so they may need to be
+   added. Only plugins marked 3.0.0 and above are compatible with the CLI.
+
+7. Build and test.
+
 Please note that the CLI supports the BlackBerry10 platform exclusively. For PlayBook and BBOS, please see Cordova version 2.9.0 and below.
 
 ## Upgrade to the CLI (3.0.0) from 2.9.0 ##