incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [1/2] docs commit: [CB-713] - Updating migration guide for bb for 1.6.0
Date Tue, 10 Jul 2012 22:36:08 GMT
Updated Branches:
  refs/heads/master 0b014c958 -> 1c0d12ae0


[CB-713] - Updating migration guide for bb for 1.6.0


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

Branch: refs/heads/master
Commit: 1c0d12ae0ed52bef5ae41084908ddf618f60d85d
Parents: a0507e7
Author: Tim Kim <tim.kim@nitobi.com>
Authored: Tue Jul 10 15:36:01 2012 -0700
Committer: Tim Kim <tim.kim@nitobi.com>
Committed: Tue Jul 10 15:36:01 2012 -0700

----------------------------------------------------------------------
 .../1.6.0rc1/guide/upgrading/blackberry/index.md   |   65 +++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/1c0d12ae/docs/en/1.6.0rc1/guide/upgrading/blackberry/index.md
----------------------------------------------------------------------
diff --git a/docs/en/1.6.0rc1/guide/upgrading/blackberry/index.md b/docs/en/1.6.0rc1/guide/upgrading/blackberry/index.md
new file mode 100644
index 0000000..b45be28
--- /dev/null
+++ b/docs/en/1.6.0rc1/guide/upgrading/blackberry/index.md
@@ -0,0 +1,65 @@
+---
+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 Cordova BlackBerry
+============================
+
+This document is for people who need to upgrade their Cordova versions from an older version
to a current version of Cordova.
+
+- To upgrade to 1.6.0rc1, please go from 1.5.0
+
+## Upgrade to 1.6.0rc1 from 1.5.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-1.6.0rc1.js` into your project.
+    - If playbook, then update the .js file in the `playbook/` folder.
+5. Update your HTML to use the new `cordova-1.6.0rc1.js` file.
+6. Update your `www/plugins.xml` file. Two plugins changed their
+   namespace/service label. Change the old entries for the Network Status and MediaCapture:
+        
+        <plugin name="MediaCapture"   value="org.apache.cordova.media.MediaCapture"/>
+        <plugin name="Network Status" value="org.apache.cordova.network.Network"/>
+
+   To:
+        <plugin name="Capture"        value="org.apache.cordova.media.MediaCapture"/>
+        <plugin name="NetworkStatus"  value="org.apache.cordova.network.Network"/>
+
+Updating the sample folder (ie, updating using the ant tools):
+
+1. Open the `sample/lib/` folder.
+2. Update the .jar file in the `cordova.1.5.0/ext/` folder.
+3. Update the contents of the `cordova.1.5.0/ext-air/` folder.
+4. Update the .js file in the `cordova.1.5.0/javascript/` folder.
+5. Open the `sample/lib/` folder and rename the `cordova.1.5.0/` folder to `cordova.1.6.0rc1/`.
+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-1.6.0rc1.js` file.
+8. Update your `www/plugins.xml` file. Two plugins changed their
+   namespace/service label. Change the old entries for the Network Status and MediaCapture:
+        
+        <plugin name="MediaCapture"   value="org.apache.cordova.media.MediaCapture"/>
+        <plugin name="Network Status" value="org.apache.cordova.network.Network"/>
+
+   To:
+        <plugin name="Capture"        value="org.apache.cordova.media.MediaCapture"/>
+        <plugin name="NetworkStatus"  value="org.apache.cordova.network.Network"/>
+


Mime
View raw message