#BlackBerry 10 WebWorks Packager WebWorks is an application framework and packaging tool that allows a developer to create a standalone BlackBerry application using HTML5/CSS/JavaScript. Web developers can create a device application experience, including AppWorld distribution and monetization to system security policy enforcement, to deep device system and service integration. All using the technologies they are familiar with, leveraging the power of the industry leading web platform being built for BlackBerry 10. This repo contains the code for the BlackBerry 10 WebWorks Packager and submodules the Framework.
##Prerequisites
- Install node[v0.6.10] and npm and add to path.
- Install BlackBerry 10 Native SDK.
- Install BlackBerry 10 WebWorks SDK.
- [Windows] Add Git bin to PATH. i.e.
*Installation Directory*\bin
- [Linux] Build node[v0.6.10+], ensure it works on your distro and copy the binary into
third_party\node\linux\
folder.
##Setup and Build
git clone https://github.com/blackberry-webworks/BB10-Webworks-Packager.git
cd BB10-Webworks-Packager
git checkout master
- Setup bbndk environment variables: (must be done within each session, prior to jake)
- [Mac/Linux]
source *BBNDK installation directory*/bbndk-env.sh
- [Windows]
*BBNDK installation directory*\bbndk-env.bat
- [Mac/Linux]
- Copy Dependencies:
Copy thedependencies
directory from the latest BlackBerry 10 WebWorks SDK into the clonedBB10-WebWorks-Packager
folder. For more details on how to install go here. - Configuration:
- [Mac/Linux]
./configure
[from terminal] - [Windows]
bash configure
[from command prompt]
- [Mac/Linux]
- Run
jake
orjake build
and check that the output folder is created under the "target/zip" subfolder. - Run
jake test
and check that jake runs and completes
##Building an application
[Mac/Linux] ./bbwp test/test.zip -o <output dir>
[Windows] bbwp.bat test\test.zip -o <output dir>
Please ensure you build your application from the "target/zip" folder and not the root of your BB10-Webworks-Packager
clone;
Otherwise the resulting bar won't launch.
##Common issues
Cloning into dependencies/webplatform... error: Couldn't resolve host 'github.rim.net' while accessing
http://github.rim.net/webworks/webplatform.git/info/refs
Solution: This error can be ignored, but please see the "Setup and Build" - "Webplatform setup:" section above for instructions on copying the necessary webplatform files.
- Bryan Higgins
- Chris Del Col
- Daniel Audino
- Danyi Lin
- Derek Watson
- Eric Li
- Eric Pearson
- Erik Johnson
- Gord Tanner
- Hasan Ahmad
- Hoyoung Jang
- Igor Shneur
- James Keshavarzi
- Jeffrey Heifetz
- Nukul Bhasin
- Rosa Tse
- Rowell Cruz
- Sergey Golod
- Stephan Leroux
To contribute code to this repository you must be signed up as an official contributor.
To add new Samples or make modifications to existing Samples:
- Fork the BB10-Webworks-Packager repository
- Make the changes/additions to your fork
- Send a pull request from your fork back to the BB10-Webworks-Packager repository
- If you made changes to code which you own, send a message via github messages to one of the Committers listed below to have your code merged