Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Updating README.md with latest changes made to build process
Browse files Browse the repository at this point in the history
-cmake removed
-webplatform clientFiles changed

Reviewed By: Eric Pearson <epearson@rim.com>
  • Loading branch information
James Keshavarzi committed Oct 23, 2012
1 parent 08365b8 commit 81dc7c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ This repo contains the code for the BlackBerry 10 WebWorks Framework.
1. Install [node[v0.6.10] and npm](http://nodejs.org/dist/v0.6.10/) and add to path.
2. Install [BlackBerry Native SDK](https://bdsc.webapps.blackberry.com/native/).
3. Install [BlackBerry 10 WebWorks SDK](https://developer.blackberry.com/html5/download/sdk).
4. Install [CMake](http://www.cmake.org/cmake/resources/software.html).
5. [*Windows*] Add CMake bin to path. i.e.`\*Installation Directory\*\bin`
6. [*Windows*] Add Git bin to PATH. i.e. `\*Installation Directory\*\bin`
4. [*Windows*] Add Git bin to PATH. i.e. `*Installation Directory*\bin`

##Setup and Build
1. `git clone https://github.com/blackberry-webworks/BB10-WebWorks-Framework.git`
Expand All @@ -18,11 +16,13 @@ This repo contains the code for the BlackBerry 10 WebWorks Framework.
- [*Mac/Linux*] `./configure` [from terminal]
- [*Windows*] `bash configure` [from command prompt]
5. **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*] `source *BBNDK installation directory*/bbndk-env.sh`
- [*Windows*] `*BBNDK installation directory*\bbndk-env.bat`
6. **Webplatform setup:**<br />
Copy the following webplatform files from the latest [BlackBerry 10 WebWorks SDK](https://developer.blackberry.com/html5/download/sdk) into `./dependencies/webplatform/framework/clientFiles/`. For more details on how to install go [here](https://developer.blackberry.com/html5/documentation/install_and_configure_ww_bb10_2007535_11.html).
- `Framework/dependencies/bootstrap/webplatform.js`
- `Framework/webplatform.js`
- `Framework/ui-resources/`
- `Framework/i18n.js`
7. Run `jake` or `jake build` and check that the output folder is created under the "target/zip" subfolder. If on windows, run jake from command prompt.
8. Run `jake test` and check that jake runs and completes

Expand Down
4 changes: 2 additions & 2 deletions build/build/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ module.exports = {
DEPENDENCIES_WEBPLATFORM_FRAMEWORK_LIB: path.normalize(__dirname + "/../../dependencies/webplatform/framework/clientFiles/webplatform.js"),
DEPENDENCIES_WEBPLATFORM_FRAMEWORK_REQUIRE: path.normalize(__dirname + "/../../dependencies/require/require.js"),
DEPENDENCIES_WEBPLATFORM_UI: path.normalize(__dirname + "/../../dependencies/webplatform/framework/clientFiles/ui-resources"),
DEPENDENCIES_WEBPLATFORM_I18N: path.normalize(__dirname + "/../../dependencies/webplatform/framework/clientFiles/i18n.js"),
DEPENDENCIES_WEBPLATFORM: path.normalize(__dirname + "/../../dependencies/webplatform"),
DEPENDENCIES_WEBPLATFORM_I18N: path.normalize(__dirname + "/../../dependencies/webplatform/framework/clientFiles/i18n.js"),
DEPENDENCIES_WEBPLATFORM: path.normalize(__dirname + "/../../dependencies/webplatform"),
DEPENDENCIES_CONFIGURE_QSK: path.normalize(__dirname + "/../../dependencies/configure-qsk/configure-qsk"),
NODE_MOD: path.normalize(__dirname + "/../../node_modules"),
COMPILER_THREADS: "4",
Expand Down
4 changes: 2 additions & 2 deletions build/build/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ module.exports = function (src, baton) {

//Copy webplatform files/folders if they exist
if (path.existsSync(_c.DEPENDENCIES_WEBPLATFORM)) {
copyFolder(_c.DEPENDENCIES_WEBPLATFORM_UI, _c.DEPLOY_UI);
copyFolder(_c.DEPENDENCIES_WEBPLATFORM_UI, _c.DEPLOY_UI);
utils.copyFile(_c.DEPENDENCIES_WEBPLATFORM_FRAMEWORK_REQUIRE, browserRequireDest);
utils.copyFile(_c.DEPENDENCIES_WEBPLATFORM_FRAMEWORK_LIB, webplatformDest);
utils.copyFile(_c.DEPENDENCIES_WEBPLATFORM_I18N, webplatformDest);
utils.copyFile(_c.DEPENDENCIES_WEBPLATFORM_I18N, webplatformDest);
} else {
console.log("\n****ERROR: Webplatform could not be found.****");
console.log("Please refer to the README for instructions on how to copy the Webplatform from a BB10 Webworks SDK installation.\n");
Expand Down

0 comments on commit 81dc7c6

Please sign in to comment.