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-9158 Blackberry: Update the tibbapp project to work with the R4 release of Cascades #56

Merged
merged 2 commits into from May 22, 2012

Conversation

jpl-mac
Copy link

@jpl-mac jpl-mac commented May 17, 2012

Reviewers: Alex, DL

Changelog:

  • Update lib dependencies in common.mk
  • rename cascades_user_main to main
  • add placeholders for icon and splashscreen in bar descriptor
    • use default titanium assets for these
  • Update bbndk path for default detection
  • Copy bb assets at packaging time
  • Remove icon.png file

NOTE: Created https://jira.appcelerator.org/browse/TIMOB-9164 to track updating of bar-descriptor at packaging time

Tests:

  • Update ndk path in titanium studio (beta version supporting BB)
  • build and install the sdk zip
  • create new project, use app.js from tibbtest
  • run on simulator
    ==> Verify it works and uses the titanium icon
    NOTE: the splashscreen doesn't seem to work, i'm currently checking with Suavek to know if the support exists for it in R4
  • Ran blackberryndk.py by itself to ensure it now defaults to the R4 version for autodetection

… release of Cascades

Changelog:
- Update lib dependencies in common.mk
- rename cascades_user_main to main
- add placeholders for icon and splashscreen in bar descriptor
    - use default titanium assets for these
- Update bbndk path for default detection
- Copy bb assets at packaging time
- Remove icon.png file

NOTE: Created https://jira.appcelerator.org/browse/TIMOB-9164 to track updating of bar-descriptor at packaging time

Tests:
- Update ndk path in titanium studio (beta version supporting BB)
- build and install the sdk zip
- create new project, use app.js from tibbtest
- run on simulator
==> Verify it works and uses the titanium icon
NOTE: the splashscreen doesn't seem to work, i'm currently checking with Suavek to know if the support exists for it in R4

- Ran blackberryndk.py by itself to ensure it now defaults to the R4 version for autodetection
os.makedirs(assetsDir)
if os.path.exists(assetsDir):
shutil.rmtree(assetsDir)
shutil.copytree(os.path.join(projectDir, 'Resources', 'blackberry'), assetsDir)
shutil.copy2(os.path.join(projectDir, 'Resources', 'app.js'), assetsDir)

if platform.system() == 'Windows':

Choose a reason for hiding this comment

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

The command after:
command = [packager, '-package', package, 'bar-descriptor.xml', '-e', savePath, projectName, 'icon.png', 'assets']
has icon.png which not exist anymore.

Copy link
Author

Choose a reason for hiding this comment

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

removed icon.png from the command

@alexandergalstyan
Copy link

The rest seems ok. Reviewed

Renamed savePath to appFile
Updated comment about copying assets

Tested that the packaging step still works well from Studio
@jpl-mac
Copy link
Author

jpl-mac commented May 18, 2012

Pushed a new commit to resolve Alex's comment

@dlifshitz-maca
Copy link

Approved

1 similar comment
@alexandergalstyan
Copy link

Approved

jpl-mac pushed a commit that referenced this pull request May 22, 2012
TIMOB-9158 Blackberry: Update the tibbapp project to work with the R4 release of Cascades
@jpl-mac jpl-mac merged commit f081f4a into Macadamian:blackberry May 22, 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