Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-9843: BlackBerry: Package framework's .js files #89

Merged
merged 2 commits into from Jul 6, 2012

Conversation

dlifshitz-maca
Copy link

Reviewers: Harut, JP

[Issues Fixed]
TIMOB-9843: BlackBerry: Package framework's .js files

[Added]
bootstrap.js

[Changes]
package.py
- funcation zipBlackberryDir
  - also package .js files in the SDK

blackberryndk.py
- function package
  - copy the framework's JavaScript and package them in the .bar file

[Tests]
Test 1: Build Mobile SDK and an app
1) Run scons
2) Verify the build succeeds and the framework's .js files are in the Mobile SDK .zip file
3) Extract the Mobile SDK .zip file and create a project using project.py
4) Build and package/run the app
5) Verify the framework's .js files are in the .bar file

[Issues Fixed]
TIMOB-9843: BlackBerry: Package framework's .js files

[Added]
bootstrap.js

[Changes]
package.py
- funcation zipBlackberryDir
  - also package .js files in the SDK

blackberryndk.py
- function package
  - copy the framework's JavaScript and package them in the .bar file

[Tests]
Test 1: Build Mobile SDK and an app
1) Run scons
2) Verify the build succeeds and the framework's .js files are in the Mobile SDK .zip file
3) Extract the Mobile SDK .zip file and create a project using project.py
4) Build and package/run the app
5) Verify the framework's .js files are in the .bar file
* Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not convinced about the location of that file. seems like doing so will put us in a situation where the we have a src folder but all the c++ source files are outside of it. Maybe we just need a js folder?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, I moved bootstrap.js to where it would be for TIMOB-9228

@jpl-mac
Copy link

jpl-mac commented Jul 4, 2012

Let's discuss the location comment. But otherwise this patch is good.

@Harutyun
Copy link

Harutyun commented Jul 6, 2012

Approved. Test is pass.

dlifshitz-maca added a commit that referenced this pull request Jul 6, 2012
TIMOB-9843: BlackBerry: Package framework's .js files

[Issues Fixed]
TIMOB-9843: BlackBerry: Package framework's .js files

[Added]
bootstrap.js

[Changes]
package.py
- funcation zipBlackberryDir
  - also package .js files in the SDK

blackberryndk.py
- function package
  - copy the framework's JavaScript and package them in the .bar file

[Tests]
Test 1: Build Mobile SDK and an app
1) Run scons
2) Verify the build succeeds and the framework's .js files are in the Mobile SDK .zip file
3) Extract the Mobile SDK .zip file and create a project using project.py
4) Build and package/run the app
5) Verify the framework's .js files are in the .bar file
@dlifshitz-maca dlifshitz-maca merged commit 01e6e43 into Macadamian:blackberry Jul 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants