You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/04/15 18:43:44 UTC
svn commit: r1673862 [9/15] - in /cordova/site: ./ public/docs/en/edge/
Modified: cordova/site/public/docs/en/edge/guide_platforms_blackberry10_upgrade.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/guide_platforms_blackberry10_upgrade.md.html?rev=1673862&r1=1673861&r2=1673862&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/guide_platforms_blackberry10_upgrade.md.html (original)
+++ cordova/site/public/docs/en/edge/guide_platforms_blackberry10_upgrade.md.html Wed Apr 15 16:43:43 2015
@@ -1,4 +1,3 @@
-<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -16,12 +15,14 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
---><html lang="en">
+-->
+
+<!DOCTYPE html>
+<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
- <meta name="generator" content="joDoc">
-<meta name="robots" content="noindex">
+ <meta name="generator" content="joDoc"><meta name="robots" label="noindex">
<title>Apache Cordova API Documentation</title>
@@ -40,7 +41,7 @@
<option value="3.1.0">3.1.0</option>
</optgroup>
<optgroup label="English" value="en">
-<option selected value="edge">edge</option>
+<option selected="selected" value="edge">edge</option>
<option value="4.0.0">4.0.0</option>
<option value="3.6.0">3.6.0</option>
<option value="3.5.0">3.5.0</option>
@@ -104,7 +105,9 @@
<option value="3.1.0">3.1.0</option>
<option value="2.0.0">2.0.0</option>
</optgroup>
-<optgroup label="Polish" value="pl"><option value="edge">edge</option></optgroup>
+<optgroup label="Polish" value="pl">
+<option value="edge">edge</option>
+</optgroup>
<optgroup label="Russian" value="ru">
<option value="edge">edge</option>
<option value="3.5.0">3.5.0</option>
@@ -121,27 +124,13 @@
<option value="3.5.0">3.5.0</option>
<option value="3.4.0">3.4.0</option>
<option value="3.1.0">3.1.0</option>
-</optgroup></select>
+</optgroup>
+</select>
</small>
</div>
<div id="subheader">
<h1>Upgrading BlackBerry 10</h1>
- <small><select><option value="Upgrading%2520BlackBerry%252010">Upgrading BlackBerry 10</option>
-<option value="Upgrading%20BlackBerry%2010_upgrading_3_6_0_projects_to_4_0_0">Â Â Â Â Â Â - Upgrading 3.6.0 Projects to 4.0.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrading_to_3_2_0_from_3_1_0">Â Â Â Â Â Â - Upgrading to 3.2.0 from 3.1.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_3_1_0_from_3_0_0">Â Â Â Â Â Â - Upgrade to 3.1.0 from 3.0.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_the_cli_3_0_0_from_2_9_0">Â Â Â Â Â Â - Upgrade to the CLI (3.0.0) from 2.9.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrading_2_8_0_projects_to_2_9_0">Â Â Â Â Â Â - Upgrading 2.8.0 Projects to 2.9.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrading_2_7_0_projects_to_2_8_0">Â Â Â Â Â Â - Upgrading 2.7.0 Projects to 2.8.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrading_2_6_0_projects_to_2_7_0">Â Â Â Â Â Â - Upgrading 2.6.0 Projects to 2.7.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_6_0_from_2_5_0">Â Â Â Â Â Â - Upgrade to 2.6.0 from 2.5.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_5_0_from_2_4_0">Â Â Â Â Â Â - Upgrade to 2.5.0 from 2.4.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_4_0_from_2_3_0">Â Â Â Â Â Â - Upgrade to 2.4.0 from 2.3.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_3_0_from_2_2_0">Â Â Â Â Â Â - Upgrade to 2.3.0 from 2.2.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_2_0_from_2_1_0">Â Â Â Â Â Â - Upgrade to 2.2.0 from 2.1.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_1_0_from_2_0_0">Â Â Â Â Â Â - Upgrade to 2.1.0 from 2.0.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_2_0_0_from_1_9_0">Â Â Â Â Â Â - Upgrade to 2.0.0 from 1.9.0</option>
-<option value="Upgrading%20BlackBerry%2010_upgrade_to_1_8_0_from_1_7_0">Â Â Â Â Â Â - Upgrade to 1.8.0 from 1.7.0</option></select></small>
+ <small><select><option value="Upgrading%2520BlackBerry%252010">Upgrading BlackBerry 10</option><option value="Upgrading%20BlackBerry%2010_upgrading_3_6_0_projects_to_4_0_0">      - Upgrading 3.6.0 Projects to 4.0.0</option><option value="Upgrading%20BlackBerry%2010_upgrading_to_3_2_0_from_3_1_0">      - Upgrading to 3.2.0 from 3.1.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_3_1_0_from_3_0_0">      - Upgrade to 3.1.0 from 3.0.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_the_cli_3_0_0_from_2_9_0">      - Upgrade to the CLI (3.0.0) from 2.9.0</option><option value="Upgrading%20BlackBerry%2010_upgrading_2_8_0_projects_to_2_9_0">      - Upgrading 2.8.0 Projects to 2.9.0</option><option value="Upgrading%20BlackBerry%2010_upgrading_2_7_0_projects_to_2_8_0">      
- Upgrading 2.7.0 Projects to 2.8.0</option><option value="Upgrading%20BlackBerry%2010_upgrading_2_6_0_projects_to_2_7_0">      - Upgrading 2.6.0 Projects to 2.7.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_6_0_from_2_5_0">      - Upgrade to 2.6.0 from 2.5.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_5_0_from_2_4_0">      - Upgrade to 2.5.0 from 2.4.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_4_0_from_2_3_0">      - Upgrade to 2.4.0 from 2.3.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_3_0_from_2_2_0">      - Upgrade to 2.3.0 from 2.2.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_2_0_from_2_1_0">      - Upgrade to 2.2.0 from 2.1.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_1_0_from_
2_0_0">      - Upgrade to 2.1.0 from 2.0.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_2_0_0_from_1_9_0">      - Upgrade to 2.0.0 from 1.9.0</option><option value="Upgrading%20BlackBerry%2010_upgrade_to_1_8_0_from_1_7_0">      - Upgrade to 1.8.0 from 1.7.0</option></select></small>
</div>
<div id="sidebar">
@@ -174,450 +163,489 @@
<div id="scrollable">
<div id="content">
<h1><a name="Upgrading%20BlackBerry%2010">Upgrading BlackBerry 10</a></h1>
-
<p>This guide shows how to modify BlackBerry projects to upgrade from older versions of Cordova.
Most of these instructions apply to projects created with an older set
of command-line tools that precede the <code>cordova</code> CLI utility. See <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a> for information how to update the
version of the CLI.</p>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrading_3_6_0_projects_to_4_0_0">Upgrading 3.6.0 Projects to 4.0.0</a></h2>
-
+<h2 id="upgrading-3-6-0-projects-to-4-0-0"><a name="Upgrading%20BlackBerry%2010_upgrading_3_6_0_projects_to_4_0_0">Upgrading 3.6.0 Projects to 4.0.0</a></h2>
<p>For non-CLI projects, run:</p>
-
<pre class="prettyprint"><code> bin/update path/to/project
-</code></pre>
-
-<p>For CLI projects:</p>
-
+</code></pre><p>For CLI projects:</p>
<ol>
-<li><p>Update the <code>cordova</code> CLI version. See <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p></li>
-<li><p>Run <code>cordova platform update blackberry</code> in your existing projects.</p></li>
+<li><p>Update the <code>cordova</code> CLI version. See <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p>
+</li>
+<li><p>Run <code>cordova platform update blackberry</code> in your existing projects.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrading_to_3_2_0_from_3_1_0">Upgrading to 3.2.0 from 3.1.0</a></h2>
-
+<h2 id="upgrading-to-3-2-0-from-3-1-0"><a name="Upgrading%20BlackBerry%2010_upgrading_to_3_2_0_from_3_1_0">Upgrading to 3.2.0 from 3.1.0</a></h2>
<p>For projects that were created with the cordova CLI: </p>
-
<ol>
-<li><p>Update the <code>cordova</code> CLI version. See <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p></li>
-<li><p>Run <code>cordova platform update blackberry</code></p></li>
+<li><p>Update the <code>cordova</code> CLI version. See <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p>
+</li>
+<li><p>Run <code>cordova platform update blackberry</code></p>
+</li>
</ol>
-
<p>For projects not created with the cordova CLI, run:</p>
-
<pre class="prettyprint"><code> bin/update <project_path>
-</code></pre>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_3_1_0_from_3_0_0">Upgrade to 3.1.0 from 3.0.0</a></h2>
-
+</code></pre><h2 id="upgrade-to-3-1-0-from-3-0-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_3_1_0_from_3_0_0">Upgrade to 3.1.0 from 3.0.0</a></h2>
<ol>
<li><p>Create a new Apache Cordova 3.1.0 project using the cordova CLI, as
-described in <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p></li>
+described in <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p>
+</li>
<li><p>Add your platforms to the cordova project, for example: <code>cordova
-platform add blackberry10</code>.</p></li>
-<li><p>Copy the contents of the original project's <code>www</code> directory to the <code>www</code> directory
-at the root of the cordova project you just created.</p></li>
+platform add blackberry10</code>.</p>
+</li>
+<li><p>Copy the contents of the original project's <code>www</code> directory to the <code>www</code> directory
+at the root of the cordova project you just created.</p>
+</li>
<li><p>Copy or overwrite any native assets from your original project
-(<code>Resources</code>, etc.)</p></li>
+(<code>Resources</code>, etc.)</p>
+</li>
<li><p>Copy the <code>config.xml</code> file into the <code>www</code> directory, and remove any
plugin definitions. You need to modify settings here rather than
-within the platform directory.</p></li>
+within the platform directory.</p>
+</li>
<li><p>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.</p></li>
-<li><p>Build and test.</p></li>
+added. Only plugins marked 3.0.0 and above are compatible with the CLI.</p>
+</li>
+<li><p>Build and test.</p>
+</li>
</ol>
-
<p>Please note that the CLI supports the BlackBerry10 platform exclusively. For PlayBook and BBOS, please see Cordova version 2.9.0 and below.</p>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_the_cli_3_0_0_from_2_9_0">Upgrade to the CLI (3.0.0) from 2.9.0</a></h2>
-
+<h2 id="upgrade-to-the-cli-3-0-0-from-2-9-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_the_cli_3_0_0_from_2_9_0">Upgrade to the CLI (3.0.0) from 2.9.0</a></h2>
<ol>
<li><p>Create a new Apache Cordova 3.0.0 project using the cordova CLI, as
-described in <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p></li>
+described in <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>.</p>
+</li>
<li><p>Add your platforms to the cordova project, for example: <code>cordova
-platform add blackberry10</code>.</p></li>
-<li><p>Copy the contents of the original project's <code>www</code> directory to the <code>www</code> directory
-at the root of the cordova project you just created.</p></li>
+platform add blackberry10</code>.</p>
+</li>
+<li><p>Copy the contents of the original project's <code>www</code> directory to the <code>www</code> directory
+at the root of the cordova project you just created.</p>
+</li>
<li><p>Copy or overwrite any native assets from your original project
-(<code>Resources</code>, etc.)</p></li>
+(<code>Resources</code>, etc.)</p>
+</li>
<li><p>Copy the <code>config.xml</code> file into the <code>www</code> directory, and remove any
plugin definitions. You need to modify settings here rather than
-within the platform directory.</p></li>
+within the platform directory.</p>
+</li>
<li><p>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 3.0.0 plugins are compatible with the CLI.</p></li>
-<li><p>Build and test.</p></li>
+added. Only 3.0.0 plugins are compatible with the CLI.</p>
+</li>
+<li><p>Build and test.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrading_2_8_0_projects_to_2_9_0">Upgrading 2.8.0 Projects to 2.9.0</a></h2>
-
+<h2 id="upgrading-2-8-0-projects-to-2-9-0"><a name="Upgrading%20BlackBerry%2010_upgrading_2_8_0_projects_to_2_9_0">Upgrading 2.8.0 Projects to 2.9.0</a></h2>
<p>For BlackBerry 10:</p>
-
<ol>
-<li><p>Download and extract the Cordova 2.9.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.9.0</code>.</p></li>
-<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p></li>
-<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p></li>
-<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. This becomes the home of your updated project.</p></li>
-<li><p>Copy your projects source from the old project's <code>/www</code> directory to the new project's <code>/www</code> directory.</p></li>
-<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p></li>
+<li><p>Download and extract the Cordova 2.9.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.9.0</code>.</p>
+</li>
+<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p>
+</li>
+<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p>
+</li>
+<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. This becomes the home of your updated project.</p>
+</li>
+<li><p>Copy your projects source from the old project's <code>/www</code> directory to the new project's <code>/www</code> directory.</p>
+</li>
+<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p>
+</li>
</ol>
-
<p>For BlackBerryOS/Playbook:</p>
-
<ol>
-<li><p>Download and extract the Cordova 2.9.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.9.0</code>.</p></li>
-<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p></li>
-<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p></li>
-<li><p>Create a new project, as described in <a href="guide_platforms_ios_tools.md.html#iOS%20Shell%20Tool%20Guide">iOS Shell Tool Guide</a>. You need the assets from this new project.</p></li>
-<li><p>Copy the <code>www/cordova.js</code> file from the new project into the <code>www</code> directory, and delete the <code>www/cordova.js</code> file.</p></li>
-<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p></li>
-<li><p>Copy the <code>native</code> directory from the new project into the existing project, overwriting the old <code>native</code> directory.</p></li>
-<li><p>Copy the <code>lib</code> directory from the new project into the existing project, overwriting the old <code>lib</code> directory.</p></li>
-<li><p>Copy the <code>cordova</code> directory from the new project into the existing project, overwriting the old <code>cordova</code> directory.</p></li>
+<li><p>Download and extract the Cordova 2.9.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.9.0</code>.</p>
+</li>
+<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p>
+</li>
+<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p>
+</li>
+<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. You need the assets from this new project.</p>
+</li>
+<li><p>Copy the <code>www/cordova.js</code> file from the new project into the <code>www</code> directory, and delete the <code>www/cordova.js</code> file.</p>
+</li>
+<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p>
+</li>
+<li><p>Copy the <code>native</code> directory from the new project into the existing project, overwriting the old <code>native</code> directory.</p>
+</li>
+<li><p>Copy the <code>lib</code> directory from the new project into the existing project, overwriting the old <code>lib</code> directory.</p>
+</li>
+<li><p>Copy the <code>cordova</code> directory from the new project into the existing project, overwriting the old <code>cordova</code> directory.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrading_2_7_0_projects_to_2_8_0">Upgrading 2.7.0 Projects to 2.8.0</a></h2>
-
+<h2 id="upgrading-2-7-0-projects-to-2-8-0"><a name="Upgrading%20BlackBerry%2010_upgrading_2_7_0_projects_to_2_8_0">Upgrading 2.7.0 Projects to 2.8.0</a></h2>
<p>BlackBerry 10 uses the new CLI tooling and manages core APIs 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.</p>
-
+Also note that the cordova js script file is now called 'cordova.js' and no longer contains a version string.</p>
<ol>
-<li><p>Download and extract the Cordova 2.8.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.8.0</code>.</p></li>
-<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p></li>
-<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p></li>
-<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. This becomes the home of your updated project.</p></li>
-<li><p>Copy your projects source from the old project's <code>/www</code> directory to the new project's <code>/www</code> directory.</p></li>
-<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p></li>
+<li><p>Download and extract the Cordova 2.8.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.8.0</code>.</p>
+</li>
+<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p>
+</li>
+<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p>
+</li>
+<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. This becomes the home of your updated project.</p>
+</li>
+<li><p>Copy your projects source from the old project's <code>/www</code> directory to the new project's <code>/www</code> directory.</p>
+</li>
+<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p>
+</li>
</ol>
-
<p>For BlackBerryOS/Playbook:</p>
-
<ol>
-<li><p>Download and extract the Cordova 2.8.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.8.0</code>.</p></li>
-<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p></li>
-<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p></li>
-<li><p>Create a new project, as described in <a href="guide_platforms_ios_tools.md.html#iOS%20Shell%20Tool%20Guide">iOS Shell Tool Guide</a>. You need the assets from this new project.</p></li>
-<li><p>Copy the <code>www/cordova.js</code> file from the new project into the <code>www</code> directory, and delete the <code>www/cordova.js</code> file.</p></li>
-<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p></li>
-<li><p>Copy the <code>native</code> directory from the new project into the existing project, overwriting the old <code>native</code> directory.</p></li>
-<li><p>Copy the <code>lib</code> directory from the new project into the existing project, overwriting the old <code>lib</code> directory.</p></li>
-<li><p>Copy the <code>cordova</code> directory from the new project into the existing project, overwriting the old <code>cordova</code> directory.</p></li>
+<li><p>Download and extract the Cordova 2.8.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.8.0</code>.</p>
+</li>
+<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p>
+</li>
+<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p>
+</li>
+<li><p>Create a new project, as described in <a href="guide_platforms_ios_tools.md.html#iOS%20Shell%20Tool%20Guide">iOS Shell Tool Guide</a>. You need the assets from this new project.</p>
+</li>
+<li><p>Copy the <code>www/cordova.js</code> file from the new project into the <code>www</code> directory, and delete the <code>www/cordova.js</code> file.</p>
+</li>
+<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova.js</code> file.</p>
+</li>
+<li><p>Copy the <code>native</code> directory from the new project into the existing project, overwriting the old <code>native</code> directory.</p>
+</li>
+<li><p>Copy the <code>lib</code> directory from the new project into the existing project, overwriting the old <code>lib</code> directory.</p>
+</li>
+<li><p>Copy the <code>cordova</code> directory from the new project into the existing project, overwriting the old <code>cordova</code> directory.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrading_2_6_0_projects_to_2_7_0">Upgrading 2.6.0 Projects to 2.7.0</a></h2>
-
+<h2 id="upgrading-2-6-0-projects-to-2-7-0"><a name="Upgrading%20BlackBerry%2010_upgrading_2_6_0_projects_to_2_7_0">Upgrading 2.6.0 Projects to 2.7.0</a></h2>
<ol>
-<li><p>Download and extract the Cordova 2.7.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.7.0</code>.</p></li>
-<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p></li>
-<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p></li>
-<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. You need the assets from this new project.</p></li>
-<li><p>Copy the <code>www/cordova-2.7.0.js</code> file from the new project into the <code>www</code> directory, and delete the <code>www/cordova-2.6.0.js</code> file.</p></li>
-<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova-2.7.0.js</code> file.</p></li>
-<li><p>Copy the <code>native</code> directory from the new project into the existing project, overwriting the old <code>native</code> directory.</p></li>
-<li><p>Copy the <code>lib</code> directory from the new project into the existing project, overwriting the old <code>lib</code> directory.</p></li>
-<li><p>Copy the <code>cordova</code> directory from the new project into the existing project, overwriting the old <code>cordova</code> directory.</p></li>
+<li><p>Download and extract the Cordova 2.7.0 source to a permanent directory location on your hard drive, for example to <code>~/Cordova-2.7.0</code>.</p>
+</li>
+<li><p>Quit any running SDK tools: Eclipse, Momentics and the like.</p>
+</li>
+<li><p>Navigate to the directory where you put the downloaded source above, using a unix like terminal: Terminal.app, Bash, Cygwin, etc.</p>
+</li>
+<li><p>Create a new project, as described in BlackBerry Shell Tool Guide. You need the assets from this new project.</p>
+</li>
+<li><p>Copy the <code>www/cordova-2.7.0.js</code> file from the new project into the <code>www</code> directory, and delete the <code>www/cordova-2.6.0.js</code> file.</p>
+</li>
+<li><p>Update the Cordova script reference in the <code>www/index.html</code> file (and any other files that contain the script reference) to point to the new <code>cordova-2.7.0.js</code> file.</p>
+</li>
+<li><p>Copy the <code>native</code> directory from the new project into the existing project, overwriting the old <code>native</code> directory.</p>
+</li>
+<li><p>Copy the <code>lib</code> directory from the new project into the existing project, overwriting the old <code>lib</code> directory.</p>
+</li>
+<li><p>Copy the <code>cordova</code> directory from the new project into the existing project, overwriting the old <code>cordova</code> directory.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_6_0_from_2_5_0">Upgrade to 2.6.0 from 2.5.0</a></h2>
-
+<h2 id="upgrade-to-2-6-0-from-2-5-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_6_0_from_2_5_0">Upgrade to 2.6.0 from 2.5.0</a></h2>
<p>Updating the PhoneGap download directory:</p>
-
<p>It is recommended that you download a fresh copy of the entire directory.</p>
-
<p>However, here are the new parts needed for the piecemeal update:</p>
-
<ol>
-<li><p>Update the cordova.blackberry.js file in the <code>Phonegap-2.6.0/lib/blackberry/javascript</code> directory.</p></li>
-<li><p>Update the <code>ext</code>, <code>ext-air</code>, and <code>ext-qnx</code> in the <code>Phonegap-2.6.0/lib/blackberry/framework</code> directory.</p></li>
-<li><p>Update the <code>build.xml</code> file in the <code>Phonegap-2.6.0/lib/blackberry</code> directory.</p></li>
-<li><p>Update the <code>Phonegap-2.6.0/lib/blackberry/bin</code> directory.</p></li>
-<li><p>Update the <code>VERSION</code> file in the <code>Phonegap-2.6.0/lib/blackberry</code> directory.</p></li>
+<li><p>Update the cordova.blackberry.js file in the <code>Phonegap-2.6.0/lib/blackberry/javascript</code> directory.</p>
+</li>
+<li><p>Update the <code>ext</code>, <code>ext-air</code>, and <code>ext-qnx</code> in the <code>Phonegap-2.6.0/lib/blackberry/framework</code> directory.</p>
+</li>
+<li><p>Update the <code>build.xml</code> file in the <code>Phonegap-2.6.0/lib/blackberry</code> directory.</p>
+</li>
+<li><p>Update the <code>Phonegap-2.6.0/lib/blackberry/bin</code> directory.</p>
+</li>
+<li><p>Update the <code>VERSION</code> file in the <code>Phonegap-2.6.0/lib/blackberry</code> directory.</p>
+</li>
</ol>
-
<p>Updating the example/ directory or migrating an existing project:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-qnx/</code> directory.</p></li>
-<li><p>Copy the new <code>cordova-2.6.0.js</code> into your project.</p></li>
-<li><p>Update your HTML to use the new <code>cordova-2.6.0.js</code> file.</p></li>
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-qnx/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.6.0.js</code> into your project.</p>
+</li>
+<li><p>Update your HTML to use the new <code>cordova-2.6.0.js</code> file.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_5_0_from_2_4_0">Upgrade to 2.5.0 from 2.4.0</a></h2>
-
+<h2 id="upgrade-to-2-5-0-from-2-4-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_5_0_from_2_4_0">Upgrade to 2.5.0 from 2.4.0</a></h2>
<p>Updating the PhoneGap download directory:</p>
-
<p>It is recommended that you download a fresh copy of the entire directory.</p>
-
<p>However, here are the new parts needed for the piecemeal update:</p>
-
<ol>
-<li><p>Update the cordova.blackberry.js file in the <code>Phonegap-2.5.0/lib/blackberry/javascript</code> directory.</p></li>
-<li><p>Update the <code>ext</code>, <code>ext-air</code>, and <code>ext-qnx</code> in the <code>Phonegap-2.5.0/lib/blackberry/framework</code> directory.</p></li>
-<li><p>Update the <code>build.xml</code> file in the <code>Phonegap-2.5.0/lib/blackberry</code> directory.</p></li>
-<li><p>Update the <code>Phonegap-2.5.0/lib/blackberry/bin</code> directory.</p></li>
-<li><p>Update the <code>VERSION</code> file in the <code>Phonegap-2.5.0/lib/blackberry</code> directory.</p></li>
+<li><p>Update the cordova.blackberry.js file in the <code>Phonegap-2.5.0/lib/blackberry/javascript</code> directory.</p>
+</li>
+<li><p>Update the <code>ext</code>, <code>ext-air</code>, and <code>ext-qnx</code> in the <code>Phonegap-2.5.0/lib/blackberry/framework</code> directory.</p>
+</li>
+<li><p>Update the <code>build.xml</code> file in the <code>Phonegap-2.5.0/lib/blackberry</code> directory.</p>
+</li>
+<li><p>Update the <code>Phonegap-2.5.0/lib/blackberry/bin</code> directory.</p>
+</li>
+<li><p>Update the <code>VERSION</code> file in the <code>Phonegap-2.5.0/lib/blackberry</code> directory.</p>
+</li>
</ol>
-
<p>Updating the example/ directory or migrating an existing project:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-qnx/</code> directory.</p></li>
-<li><p>Copy the new <code>cordova-2.5.0.js</code> into your project.</p></li>
-<li><p>Update your HTML to use the new <code>cordova-2.5.0.js</code> file.</p></li>
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-qnx/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.5.0.js</code> into your project.</p>
+</li>
+<li><p>Update your HTML to use the new <code>cordova-2.5.0.js</code> file.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_4_0_from_2_3_0">Upgrade to 2.4.0 from 2.3.0</a></h2>
-
+<h2 id="upgrade-to-2-4-0-from-2-3-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_4_0_from_2_3_0">Upgrade to 2.4.0 from 2.3.0</a></h2>
<p>Updating just the <code>www</code> directory:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li>
-<p>Copy the new <code>cordova-2.4.0.js</code> into your project.</p>
-
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.4.0.js</code> into your project.</p>
<ul>
<li>If playbook, then update the .js file in the <code>playbook/</code> directory.</li>
<li>If BlackBerry 10, then update the .js file in the <code>qnx/</code> directory.</li>
</ul>
</li>
-<li><p>Update your HTML to use the new <code>cordova-2.4.0.js</code> file.</p></li>
+<li><p>Update your HTML to use the new <code>cordova-2.4.0.js</code> file.</p>
+</li>
</ol>
-
<p>Updating the sample directory (i.e., updating using the ant tools):</p>
-
<ol>
-<li><p>Open the <code>sample/lib/</code> directory.</p></li>
-<li><p>Update the .jar file in the <code>cordova.2.3.0/ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.3.0/ext-air/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.3.0/ext-qnx/</code> directory.</p></li>
-<li><p>Update the .js file in the <code>cordova.2.3.0/javascript/</code> directory.</p></li>
-<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.3.0/</code> directory to <code>cordova.2.4.0/</code>.</p></li>
-<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p></li>
-<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.4.0.js</code> file.</p></li>
+<li><p>Open the <code>sample/lib/</code> directory.</p>
+</li>
+<li><p>Update the .jar file in the <code>cordova.2.3.0/ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.3.0/ext-air/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.3.0/ext-qnx/</code> directory.</p>
+</li>
+<li><p>Update the .js file in the <code>cordova.2.3.0/javascript/</code> directory.</p>
+</li>
+<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.3.0/</code> directory to <code>cordova.2.4.0/</code>.</p>
+</li>
+<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.4.0.js</code> file.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_3_0_from_2_2_0">Upgrade to 2.3.0 from 2.2.0</a></h2>
-
+<h2 id="upgrade-to-2-3-0-from-2-2-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_3_0_from_2_2_0">Upgrade to 2.3.0 from 2.2.0</a></h2>
<p>Updating just the <code>www</code> directory:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li>
-<p>Copy the new <code>cordova-2.3.0.js</code> into your project.</p>
-
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.3.0.js</code> into your project.</p>
<ul>
<li>If playbook, then update the .js file in the <code>playbook/</code> directory.</li>
<li>If BlackBerry 10, then update the .js file in the <code>qnx/</code> directory.</li>
</ul>
</li>
-<li><p>Update your HTML to use the new <code>cordova-2.3.0.js</code> file.</p></li>
+<li><p>Update your HTML to use the new <code>cordova-2.3.0.js</code> file.</p>
+</li>
</ol>
-
<p>Updating the sample directory (i.e., updating using the ant tools):</p>
-
<ol>
-<li><p>Open the <code>sample/lib/</code> directory.</p></li>
-<li><p>Update the .jar file in the <code>cordova.2.2.0/ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.2.0/ext-air/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.2.0/ext-qnx/</code> directory.</p></li>
-<li><p>Update the .js file in the <code>cordova.2.2.0/javascript/</code> directory.</p></li>
-<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.2.0/</code> directory to <code>cordova.2.3.0/</code>.</p></li>
-<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p></li>
-<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.3.0.js</code> file.</p></li>
+<li><p>Open the <code>sample/lib/</code> directory.</p>
+</li>
+<li><p>Update the .jar file in the <code>cordova.2.2.0/ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.2.0/ext-air/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.2.0/ext-qnx/</code> directory.</p>
+</li>
+<li><p>Update the .js file in the <code>cordova.2.2.0/javascript/</code> directory.</p>
+</li>
+<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.2.0/</code> directory to <code>cordova.2.3.0/</code>.</p>
+</li>
+<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.3.0.js</code> file.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_2_0_from_2_1_0">Upgrade to 2.2.0 from 2.1.0</a></h2>
-
+<h2 id="upgrade-to-2-2-0-from-2-1-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_2_0_from_2_1_0">Upgrade to 2.2.0 from 2.1.0</a></h2>
<p>Updating just the www directory:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li>
-<p>Copy the new <code>cordova-2.2.0.js</code> into your project.</p>
-
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.2.0.js</code> into your project.</p>
<ul>
<li>If playbook, then update the .js file in the <code>playbook/</code> directory.</li>
<li>If BlackBerry 10, then update the .js file in the <code>qnx/</code> directory.</li>
</ul>
</li>
-<li><p>Update your HTML to use the new <code>cordova-2.2.0.js</code> file.</p></li>
+<li><p>Update your HTML to use the new <code>cordova-2.2.0.js</code> file.</p>
+</li>
</ol>
-
<p>Updating the sample directory (i.e., updating using the ant tools):</p>
-
<ol>
-<li><p>Open the <code>sample/lib/</code> directory.</p></li>
-<li><p>Update the .jar file in the <code>cordova.2.1.0/ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.1.0/ext-air/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.1.0/ext-qnx/</code> directory.</p></li>
-<li><p>Update the .js file in the <code>cordova.2.1.0/javascript/</code> directory.</p></li>
-<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.1.0/</code> directory to <code>cordova.2.2.0/</code>.</p></li>
-<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p></li>
-<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.2.0.js</code> file.</p></li>
+<li><p>Open the <code>sample/lib/</code> directory.</p>
+</li>
+<li><p>Update the .jar file in the <code>cordova.2.1.0/ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.1.0/ext-air/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.1.0/ext-qnx/</code> directory.</p>
+</li>
+<li><p>Update the .js file in the <code>cordova.2.1.0/javascript/</code> directory.</p>
+</li>
+<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.1.0/</code> directory to <code>cordova.2.2.0/</code>.</p>
+</li>
+<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.2.0.js</code> file.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_1_0_from_2_0_0">Upgrade to 2.1.0 from 2.0.0</a></h2>
-
+<h2 id="upgrade-to-2-1-0-from-2-0-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_1_0_from_2_0_0">Upgrade to 2.1.0 from 2.0.0</a></h2>
<p>Updating just the <code>www</code> directory:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li>
-<p>Copy the new <code>cordova-2.1.0.js</code> into your project.</p>
-
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.1.0.js</code> into your project.</p>
<ul>
<li>If playbook, then update the .js file in the <code>playbook/</code> directory.</li>
</ul>
</li>
-<li><p>Update your HTML to use the new <code>cordova-2.1.0.js</code> file.</p></li>
+<li><p>Update your HTML to use the new <code>cordova-2.1.0.js</code> file.</p>
+</li>
</ol>
-
<p>Updating the sample directory (i.e., updating using the ant tools):</p>
-
<ol>
-<li><p>Open the <code>sample/lib/</code> directory.</p></li>
-<li><p>Update the .jar file in the <code>cordova.2.0.0/ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.2.0.0/ext-air/</code> directory.</p></li>
-<li><p>Update the .js file in the <code>cordova.2.0.0/javascript/</code> directory.</p></li>
-<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.0.0/</code> directory to <code>cordova.2.1.0/</code>.</p></li>
-<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p></li>
-<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.1.0.js</code> file.</p></li>
+<li><p>Open the <code>sample/lib/</code> directory.</p>
+</li>
+<li><p>Update the .jar file in the <code>cordova.2.0.0/ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.2.0.0/ext-air/</code> directory.</p>
+</li>
+<li><p>Update the .js file in the <code>cordova.2.0.0/javascript/</code> directory.</p>
+</li>
+<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.2.0.0/</code> directory to <code>cordova.2.1.0/</code>.</p>
+</li>
+<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.1.0.js</code> file.</p>
+</li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_0_0_from_1_9_0">Upgrade to 2.0.0 from 1.9.0</a></h2>
-
+<h2 id="upgrade-to-2-0-0-from-1-9-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_2_0_0_from_1_9_0">Upgrade to 2.0.0 from 1.9.0</a></h2>
<p>Updating just the <code>www</code> directory:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li>
-<p>Copy the new <code>cordova-2.0.0.js</code> into your project.</p>
-
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-2.0.0.js</code> into your project.</p>
<ul>
<li>If playbook, then update the .js file in the <code>playbook/</code> directory.</li>
</ul>
</li>
-<li><p>Update your HTML to use the new <code>cordova-2.0.0.js</code> file.</p></li>
-<li>
-<p>Update the <code>www/plugins.xml</code> file. Two plugins changed their
+<li><p>Update your HTML to use the new <code>cordova-2.0.0.js</code> file.</p>
+</li>
+<li><p>Update the <code>www/plugins.xml</code> file. Two plugins changed their
namespace/service label. Change the old entries for the Capture and
Contact plugins from:</p>
-
-<pre class="prettyprint"><code><plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
-<plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-
-<p>To:</p>
-
-<pre class="prettyprint"><code><plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
-<plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-</li>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
+ <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
+</code></pre><p>To:</p>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
+ <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
+</code></pre></li>
</ol>
-
<p>Updating the sample directory (i.e., updating using the ant tools):</p>
-
<ol>
-<li><p>Open the <code>sample/lib/</code> directory.</p></li>
-<li><p>Update the .jar file in the <code>cordova.1.9.0/ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.1.9.0/ext-air/</code> directory.</p></li>
-<li><p>Update the .js file in the <code>cordova.1.9.0/javascript/</code> directory.</p></li>
-<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.1.9.0/</code> directory to <code>cordova.2.0.0/</code>.</p></li>
-<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p></li>
-<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.0.0.js</code> file.</p></li>
-<li>
-<p>Open the <code>www</code> directory and update the <code>plugins.xml</code> file. Two plugins
+<li><p>Open the <code>sample/lib/</code> directory.</p>
+</li>
+<li><p>Update the .jar file in the <code>cordova.1.9.0/ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.1.9.0/ext-air/</code> directory.</p>
+</li>
+<li><p>Update the .js file in the <code>cordova.1.9.0/javascript/</code> directory.</p>
+</li>
+<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.1.9.0/</code> directory to <code>cordova.2.0.0/</code>.</p>
+</li>
+<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-2.0.0.js</code> file.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update the <code>plugins.xml</code> file. Two plugins
changed their namespace/service label. Change the old entries for the
Capture and Contact plugins from:</p>
-
-<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
- <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-
-<p>To:</p>
-
-<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
- <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
+ <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
+</code></pre><p>To:</p>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
+ <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
+</code></pre></li>
+<li><p>To upgrade to 1.8.0, please go from 1.7.0</p>
</li>
-<li><p>To upgrade to 1.8.0, please go from 1.7.0</p></li>
</ol>
-
-<h2><a name="Upgrading%20BlackBerry%2010_upgrade_to_1_8_0_from_1_7_0">Upgrade to 1.8.0 from 1.7.0</a></h2>
-
+<h2 id="upgrade-to-1-8-0-from-1-7-0"><a name="Upgrading%20BlackBerry%2010_upgrade_to_1_8_0_from_1_7_0">Upgrade to 1.8.0 from 1.7.0</a></h2>
<p>Updating just the <code>www</code> directory:</p>
-
<ol>
-<li><p>Open the <code>www</code> directory, which contains the app.</p></li>
-<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>ext-air/</code> directory.</p></li>
-<li>
-<p>Copy the new <code>cordova-1.8.0.js</code> into your project.</p>
-
+<li><p>Open the <code>www</code> directory, which contains the app.</p>
+</li>
+<li><p>Remove and update the .jar file in the <code>ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>ext-air/</code> directory.</p>
+</li>
+<li><p>Copy the new <code>cordova-1.8.0.js</code> into your project.</p>
<ul>
<li>If playbook, then update the .js file in the <code>playbook/</code> directory.</li>
</ul>
</li>
-<li><p>Update your HTML to use the new <code>cordova-1.8.0.js</code> file.</p></li>
-<li>
-<p>Update the <code>www/plugins.xml</code> file. Two plugins changed their
+<li><p>Update your HTML to use the new <code>cordova-1.8.0.js</code> file.</p>
+</li>
+<li><p>Update the <code>www/plugins.xml</code> file. Two plugins changed their
namespace/service label. Change the old entries for the Capture and
Contact plugins from:</p>
-
-<pre class="prettyprint"><code><plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
-<plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-
-<p>To:</p>
-
-<pre class="prettyprint"><code><plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
-<plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-</li>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
+ <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
+</code></pre><p>To:</p>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
+ <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
+</code></pre></li>
</ol>
-
<p>Updating the sample directory (i.e., updating using the ant tools):</p>
-
<ol>
-<li><p>Open the <code>sample/lib/</code> directory.</p></li>
-<li><p>Update the .jar file in the <code>cordova.1.7.0/ext/</code> directory.</p></li>
-<li><p>Update the contents of the <code>cordova.1.7.0/ext-air/</code> directory.</p></li>
-<li><p>Update the .js file in the <code>cordova.1.7.0/javascript/</code> directory.</p></li>
-<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.1.7.0/</code> directory to <code>cordova.1.8.0/</code>.</p></li>
-<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p></li>
-<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-1.8.0.js</code> file.</p></li>
-<li>
-<p>Open the <code>www</code> directory and update the <code>plugins.xml</code> file. Two plugins
+<li><p>Open the <code>sample/lib/</code> directory.</p>
+</li>
+<li><p>Update the .jar file in the <code>cordova.1.7.0/ext/</code> directory.</p>
+</li>
+<li><p>Update the contents of the <code>cordova.1.7.0/ext-air/</code> directory.</p>
+</li>
+<li><p>Update the .js file in the <code>cordova.1.7.0/javascript/</code> directory.</p>
+</li>
+<li><p>Open the <code>sample/lib/</code> directory and rename the <code>cordova.1.7.0/</code> directory to <code>cordova.1.8.0/</code>.</p>
+</li>
+<li><p>Type <code>ant blackberry build</code> or <code>ant playbook build</code> to update the <code>www</code> directory with updated Cordova.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update your HTML to use the new <code>cordova-1.8.0.js</code> file.</p>
+</li>
+<li><p>Open the <code>www</code> directory and update the <code>plugins.xml</code> file. Two plugins
changed their namespace/service label. Change the old entries for the
Capture and Contact plugins from:</p>
-
-<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
- <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-
-<p>To:</p>
-
-<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
- <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
-</code></pre>
-</li>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/>
+ <plugin name="Contact" value="org.apache.cordova.pim.Contact"/>
+</code></pre><p>To:</p>
+<pre class="prettyprint"><code> <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/>
+ <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/>
+</code></pre></li>
</ol>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org