Assigning a version number to your application
You must change the version number of your application before you package it for signing and installation on BlackBerry tablets. The version number for a BlackBerry Tablet OS application is made up of a series of four numbers separated by decimals (for example 22.214.171.1247).
Each time you sign your application, you must change at least one segment of the version number. You can change the major, minor, and revision numbers by updating the versionNumber element in the your_project_name-app.xml file.
You can change the build number by updating the buildId element in your bar-descriptor.xml file. Alternatively, you can specify the build ID using the buildId command line option when you package your application using the blackberry-airpackager tool. The buildId option accepts a number from 0 to 65535. If you specify a build number in both the bar-descriptor.xml and using the blackberry-airpackager tool, the value given to the blackberry-airpackager tool is used.
If you do not specify a build number, the default build segment of your version number is 0.