incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] docs commit: [CB687-690] added iOS migration guides
Date Wed, 11 Jul 2012 22:53:41 GMT
[CB687-690] added iOS migration guides


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

Branch: refs/heads/master
Commit: b4adf2aa0a76a6e63288fa8b9661672545aa98c7
Parents: 8275119
Author: Steven Gill <stevengill97@gmail.com>
Authored: Wed Jul 11 15:53:01 2012 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Wed Jul 11 15:53:01 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/upgrading/android/index.md |   21 ++----
 docs/en/edge/guide/upgrading/ios/index.md     |   72 ++++++++++++++++++++
 2 files changed, 79 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/b4adf2aa/docs/en/edge/guide/upgrading/android/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/upgrading/android/index.md b/docs/en/edge/guide/upgrading/android/index.md
index 3b49720..5d1136a 100644
--- a/docs/en/edge/guide/upgrading/android/index.md
+++ b/docs/en/edge/guide/upgrading/android/index.md
@@ -23,13 +23,6 @@ Upgrading Cordova Android
 
 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.9.0, please go from 1.8.1
-- To upgrade to 1.8.1, please go from 1.8.0
-- To upgrade to 1.8.0, please go from 1.7.0
-- To upgrade to 1.7.0, please go from 1.6.1
-- To upgrade to 1.0.0, please go from 0.9.6
-
-
 ## Upgrade to 1.9.0 from 1.8.1 ##
 
 1. Remove cordova-1.8.0.jar from the libs directory in your project
@@ -93,7 +86,7 @@ getContext() or getActivity().  If you are not an experienced Android developer,
 4. Copy the new cordova-1.6.1.js into your project
 5. Update the res/xml/plugins.xml to be the same as the one found in framework/res/xml/plugins.xml
 
-# Upgrade to 1.6.0 from 1.5.0
+## Upgrade to 1.6.0 from 1.5.0 ##
 1. Remove cordova-1.5.0.jar from the libs directory in your project
 2. Add cordova-1.6.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean
@@ -103,7 +96,7 @@ getContext() or getActivity().  If you are not an experienced Android developer,
 7. Replace the res/xml/phonegap.xml with res/xml/cordova.xml so that it is the same as the
one found in framework/res/xml/cordova.xml
 
 
-# Upgrade to 1.5.0 from 1.4.0
+## Upgrade to 1.5.0 from 1.4.0##
 1. Remove phonegap-1.4.0.jar from the libs directory in your project
 2. Add cordova-1.5.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean
@@ -112,7 +105,7 @@ getContext() or getActivity().  If you are not an experienced Android
developer,
 6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
 7. Replace the res/xml/phonegap.xml with res/xml/cordova.xml so that it is the same as the
one found in framework/res/xml/cordova.xml
 
-# Upgrade to 1.4.0 from 1.3.0
+## Upgrade to 1.4.0 from 1.3.0 ##
 1. Remove phonegap-1.3.0.jar from the libs directory in your project
 2. Add phonegap-1.4.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean
@@ -122,7 +115,7 @@ getContext() or getActivity().  If you are not an experienced Android
developer,
 7. Update the res/xml/phonegap.xml so that it is the same as the one found in framework/res/xml/phonegap.xml
 
 
-# Upgrade to 1.3.0 from 1.2.0
+## Upgrade to 1.3.0 from 1.2.0 ##
 1. Remove phonegap-1.2.0.jar from the libs directory in your project
 2. Add phonegap-1.3.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean
@@ -132,7 +125,7 @@ getContext() or getActivity().  If you are not an experienced Android
developer,
 7. Update the res/xml/phonegap.xml so that it is the same as the one found in framework/res/xml/phonegap.xml
 
 
-# Upgrade to 1.2.0 from 1.1.0
+## Upgrade to 1.2.0 from 1.1.0 ##
 1. Remove phonegap-1.1.0.jar from the libs directory in your project
 2. Add phonegap-1.2.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean
@@ -142,7 +135,7 @@ getContext() or getActivity().  If you are not an experienced Android
developer,
 7. Update the res/xml/phonegap.xml so that it is the same as the one found in framework/res/xml/phonegap.xml
 
 
-# Upgrade to 1.1.0 from 1.0.0
+## Upgrade to 1.1.0 from 1.0.0 ##
 1. Remove phonegap-1.0.0.jar from the libs directory in your project
 2. Add phonegap-1.1.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean
@@ -151,7 +144,7 @@ getContext() or getActivity().  If you are not an experienced Android
developer,
 6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
 
 
-# Upgrade to 1.0.0 from 0.9.6
+## Upgrade to 1.0.0 from 0.9.6 ##
 1. Remove phonegap-0.9.6.jar from the libs directory in your project
 2. Add phonegap-1.0.0.jar to the libs directory in your project
 3. If you are using Eclipse, please refresh your eclipse project and do a clean

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/b4adf2aa/docs/en/edge/guide/upgrading/ios/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/upgrading/ios/index.md b/docs/en/edge/guide/upgrading/ios/index.md
index 058a26a..0e1a6bf 100644
--- a/docs/en/edge/guide/upgrading/ios/index.md
+++ b/docs/en/edge/guide/upgrading/ios/index.md
@@ -142,4 +142,76 @@ If you intend on using the **Capture API**, you will need the new **iPad
retina-
 6. **Copy** the **www/phonegap-1.4.0.js** file from the new project into your **www** folder,
and delete your **www/phonegap-1.3.0.js** file
 7. **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 **phonegap-1.4.0.js** file
 8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery**
and the value is **PGBattery**
+9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h
and AppDelegate.m** into the new AppDelegate files
+
+## Upgrading Cordova 1.2.0 projects to 1.3.0 ##
+
+1. **Install** Cordova 1.3.0
+2. **Make a backup** of **AppDelegate.m** and **AppDelegate.h** in your project
+3. **Create a new project** - you will have to grab assets from this new project
+4. **Copy** these files from the **new** project into your 1.2.0 based project folder on
disk, **replacing** any old files (**backup** your files first from step 2 above):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. **Add** all the **MainViewController** files into your Xcode project
+6. **Copy** the **www/phonegap-1.3.0.js** file from the new project into your **www** folder,
and delete your **www/phonegap-1.2.0.js** file
+7. **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 **phonegap-1.3.0.js** file
+8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery**
and the value is **PGBattery**
+9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h
and AppDelegate.m** into the new AppDelegate files
+
+## Upgrading Cordova 1.1.0 projects to 1.2.0 ##
+
+1. **Install** Cordova 1.2.0
+2. **Make a backup** of **AppDelegate.m** and **AppDelegate.h** in your project
+3. **Create a new project** - you will have to grab assets from this new project
+4. **Copy** these files from the **new** project into your 1.1.0 based project folder on
disk, **replacing** any old files (**backup** your files first from step 2 above):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. **Add** all the **MainViewController** files into your Xcode project
+6. **Copy** the **www/phonegap-1.2.0.js** file from the new project into your **www** folder,
and delete your **www/phonegap-1.1.0.js** file
+7. **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 **phonegap-1.2.0.js** file
+8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery**
and the value is **PGBattery**
+9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h
and AppDelegate.m** into the new AppDelegate files
+
+## Upgrading Cordova 1.0.0 projects to 1.1.0 ##
+
+1. **Install** Cordova 1.1.0
+2. **Make a backup** of **AppDelegate.m** and **AppDelegate.h** in your project
+3. **Create a new project** - you will have to grab assets from this new project
+4. **Copy** these files from the **new** project into your 1.0.0 based project folder on
disk, **replacing** any old files (**backup** your files first from step 2 above):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. **Add** all the **MainViewController** files into your Xcode project
+6. **Copy** the **www/phonegap-1.1.0.js** file from the new project into your **www** folder,
and delete your **www/phonegap-1.0.0.js** file
+7. **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 **phonegap-1.1.0.js** file
+8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery**
and the value is **PGBattery**
+9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h
and AppDelegate.m** into the new AppDelegate files
+
+## Upgrading Cordova 0.9.6 projects to 1.0.0 ##
+
+1. **Install** Cordova 1.0.0
+2. **Make a backup** of **AppDelegate.m** and **AppDelegate.h** in your project
+3. **Create a new project** - you will have to grab assets from this new project
+4. **Copy** these files from the **new** project into your 0.9.6 based project folder on
disk, **replacing** any old files (**backup** your files first from step 2 above):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. **Add** all the **MainViewController** files into your Xcode project
+6. **Copy** the **www/phonegap-1.0.0.js** file from the new project into your **www** folder,
and delete your **www/phonegap-0.9.6.js** file
+7. **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 **phonegap-1.0.0.js** file
+8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery**
and the value is **PGBattery**
 9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h
and AppDelegate.m** into the new AppDelegate files
\ No newline at end of file


Mime
View raw message