Package your app

To package your app, you must run the BlackBerry WebWorks Packager, which is included with the BlackBerry PlayBook OS SDK. The BlackBerry WebWorks Packager takes your app archive file, packages it, and then creates the file needed for deployment.

Before you begin: Make sure you created your app archive file (.zip) with all the required elements and objects. For more information, see Creating a BlackBerry WebWorks archive file.

  1. At a command prompt, navigate to the installation folder for the BlackBerry WebWorks Packager. The default locations are:
    • Windows XP: C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS <version>\bbwp
    • Windows 7: C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS <version>\bbwp
    • Mac OS: /Developer/SDKs/Research In Motion/BlackBerry WebWorks SDK for TabletOS <version>\bbwp
  2. Package the app by using the following syntax:
    bbwp [drive:][path]archive [-o dir]

    Windows example:

    bbwp C:\myapp\myarchive.zip -o C:\myapp\output

    Mac OS example:

    ./bbwp ~/myapp/myarchive.zip -o ~/myapp/output

    During the packaging, the BlackBerry WebWorks Packager displays multiple messages, and indicates successful completion if the app archive contains no errors.

  3. If successful, this process creates an unsigned .bar file in the folder specified by the -o parameter. If no -o parameter is specified, the .bar file is created in a subfolder named "bin" that's located in the same folder location as the archive file.

Last modified: 2013-08-14