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.7.0, please go from 1.7.0rc1
Upgrade to 1.7.0 from 1.7.0rc1
Updating just the www folder:
- Open your
www/folder, which contains your app. - Remove and update the .jar file in the
ext/folder. - Update the contents of the
ext-air/folder. - Copy the new
cordova-1.7.0.jsinto your project.- If playbook, then update the .js file in the
playbook/folder.
- If playbook, then update the .js file in the
- Update your HTML to use the new
cordova-1.7.0.jsfile.
Updating the sample folder (ie, updating using the ant tools):
- Open the
sample/lib/folder. - Update the .jar file in the
cordova.1.7.0rc1/ext/folder. - Update the contents of the
cordova.1.7.0rc1/ext-air/folder. - Update the .js file in the
cordova.1.7.0rc1/javascript/folder. - Open the
sample/lib/folder and rename thecordova.1.7.0rc1/folder tocordova.1.7.0/. - Type
ant blackberry buildorant playbook buildto update thewww/folder with updated Cordova. - Open the
www/folder and update your HTML to use the newcordova-1.7.0.jsfile.