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 2012/07/12 00:49:31 UTC

docs commit: [CB-708] - migration guides for 1.1.0 for bb

Updated Branches:
  refs/heads/master 63e25d446 -> 94a5fc14f


[CB-708] - migration guides for 1.1.0 for bb


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/94a5fc14
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/94a5fc14
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/94a5fc14

Branch: refs/heads/master
Commit: 94a5fc14f3bdb03aca3a1908f4fef33d14675725
Parents: 63e25d4
Author: Tim Kim <ti...@nitobi.com>
Authored: Wed Jul 11 15:49:25 2012 -0700
Committer: Tim Kim <ti...@nitobi.com>
Committed: Wed Jul 11 15:49:25 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/94a5fc14/docs/en/1.1.0/guide/upgrading/blackberry/index.md
----------------------------------------------------------------------
diff --git a/docs/en/1.1.0/guide/upgrading/blackberry/index.md b/docs/en/1.1.0/guide/upgrading/blackberry/index.md
new file mode 100644
index 0000000..5c96e41
--- /dev/null
+++ b/docs/en/1.1.0/guide/upgrading/blackberry/index.md
@@ -0,0 +1,49 @@
+---
+license: Licensed to the Apache Software Foundation (ASF) under one
+         or more contributor license agreements.  See the NOTICE file
+         distributed with this work for additional information
+         regarding copyright ownership.  The ASF licenses this file
+         to you under the Apache License, Version 2.0 (the
+         "License"); you may not use this file except in compliance
+         with the License.  You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+         under the License.
+---
+
+Upgrading Phonegap BlackBerry
+============================
+
+This document is for people who need to upgrade their Phonegap versions from an older version to a current version of Phonegap.
+
+- To upgrade to 1.1.0, please go from 1.0.0
+
+## Upgrade to 1.1.0 from 1.0.0 ##
+
+Updating just the www folder:
+
+1. Open your `www/` folder, which contains your app.
+2. Remove and update the old phonegap.1.0.0.jar file in the `ext/` folder and replace it with Phonegap.1.1.0.jar.
+3. Copy the new `Phonegap-1.1.0.js` into your project.
+4. Update your HTML to use the new `Phonegap-1.1.0.js` file.
+5. Update your www/plugins.xml file and add this value:
+
+    <plugin name="Battery"        value="com.phonegap.battery.Battery"/>
+
+Updating the sample folder (ie, updating using the ant tools):
+
+1. Open the `sample/lib/` folder.
+2. Update the .jar file in the `phonegap.1.0.0/ext/` folder.
+3. Update the .js file in the `phonegap.1.0.0/javascript/` folder.
+4. Open the `sample/lib/` folder and rename the `Phonegap.1.0.0/` folder to `Phonegap.1.1.0/`.
+5. Type `ant blackberry build` to update the `www/` folder with updated Phonegap.
+6. Open the `www/` folder and update your HTML to use the new `Phonegap-1.1.0.js` file.
+7. Update your www/plugins.xml file and add this value:
+
+    <plugin name="Battery"        value="com.phonegap.battery.Battery"/>