Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
JavaScript Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Framework @ f5395a7
build
lib
test
.gitignore
.gitmodules
.jshintignore
.jshintrc
Jakefile
README.md
bbwp
bbwp.bat
configure
dist.xml
licenses.txt
package.json
pom.xml

README.md

BB10-WebWorks-Packager

Prerequisites

  1. Install node and npm and add to path. Download Here
  2. Install BlackBerry Native SDK. Download Here
  3. Install BlackBerry 10 WebWorks SDK. Download Here
  4. Install CMake. Download Here
  5. Add BlackBerry Native SDK bin directory to path. i.e. Installation Directory\host\win32\x86\usr\bin
  6. Add CMake bin to path. i.e. Installation Directory\bin
  7. Add Git bin to path. i.e. Installation Directory\bin [Windows only]

Setup and Build

  1. git clone https://github.com/blackberry-webworks/BB10-Webworks-Packager.git
  2. cd BB10-WebWorks-Packager
  3. git checkout next
  4. Copy the dependencies directory from the BlackBerry 10 WebWorks SDK installation directory into BB10-WebWorks-Packager
  5. On windows run *BBNDK Installation Directory*\bbndk-env.bat. This needs to be run each time before you configure. On Mac, you can simply add source *installation directory here*/bbndk-env.sh to your bash profile
  6. Run ./configure on Mac (sudo ./configure if you get permission errors) or bash configure on Windows. Please note, on Windows the configure script needs to be run from command prompt.
  7. Run jake test and check that jake runs and completes

Building an application

On Mac: ./bbwp test/test.zip -o <output dir>

On Windows: bbwp.bat test\test.zip -o <output dir>

Something went wrong with that request. Please try again.