Package from the command line
When you package a BlackBerry WebWorks app by using the BlackBerry WebWorks SDK, the app's resources, including a start page (index.html), a config.xml file, icons, and other resources, are used to create one or more .cod files. You can install the resulting .cod files on the BlackBerry Smartphone Simulator or on a BlackBerry smartphone, just as you would install any other BlackBerry smartphone app.
When you compile a BlackBerry WebWorks app, the BlackBerry WebWorks Packager performs the following actions:
- Validates the contents of the app's archive (.zip) file.
- Creates the output target folder and cleans up any old files (if necessary).
- Creates the source target folder (if specified) and cleans up any old files (if necessary).
- Creates the following files:
- .cod file for wireless distribution or distribution from a web page
- .alx file for distribution using BlackBerry Desktop Manager
- .jad file for distribution from a web page
- .cso file for app signing
- .csl file for app signing
- For a signed app, it updates the .cod file with a signed version.
For some versions of Windows, you may need to be logged into an account with administrator privileges to successfully build your BlackBerry WebWorks app.
Last modified: 2013-10-02