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-8926: Blackberry: Implement proper packaging of blackberry mobile sdk #52

Merged
merged 7 commits into from
May 23, 2012

Commits on May 11, 2012

  1. TIMOB-9014: BlackBerry: Add BlackBerry to drillbit test harness app

    [Issues Fixed]
    TIMOB-9014: BlackBerry: Add BlackBerry to drillbit test harness app
    
    [Changed]
    tiapp_harness.xml
    - added blackberry xmlns
    
    blackberry.js
    - function installTestHarness
      - added suite parameter
      - call launchTestHarness
    - function launchTestHarness
      - added suite parameter
      - build, deploy, and run the test_harness app
    - function runTestHarness
      - pass 'blackberry' to handleTestError
      - set the status to Running
      - pass the suite parameter
    
    drillbitmodule.js
    - function initPlatforms
      - fix getting the env vars
    - function handleTestError
      - added parameter platform and use 'android' as the default for backwards compatability
    
    blackberryndk.py, builder.py
    - use return code
    
    [Tests]
    Test 1: Run drillbit
    1) Build tibb
    2) change simulator IP in builder.py
    3) Run scons to build the mobile sdk
    4) Run the following command:
    drillbit\drillbit.py --platforms=blackberry
    5) Verify the tests are shown
    6) Click "run tests"
    7) Verify the test_harness app is build and deployed
    Note: the BlackBerry tests will not complete because communication with the simulator is not implemented
    dlifshitz-maca committed May 11, 2012
    Configuration menu
    Copy the full SHA
    5621824 View commit details
    Browse the repository at this point in the history
  2. TIMOB-8926: Blackberry: Implement proper packaging of blackberry mobi…

    …le sdk
    
    [Issues Fixed]
    TIMOB-8926: Blackberry: Implement proper packaging of blackberry mobile sdk
    
    [Added]
    blackberry/tibb/.gitignore
    - ignore *.a
    
    [Changes]
    SConstruct
    - import BlackberryNDK
    - fix build_type butchering for clean builds
    - build tibb
    
    package.py
    - function zip_blackberry
      - only zip the following:
        - .h and .a files for libv8 and tibb
        - tibbapp
    
    blackberryndk.py
    - added function buildTibb
    
    [Tests]
    Test 1: Build and use mobile sdk
    1) Run scons
    2) Verify the mobilesdk/win32/2.0.0/blackberry folder only contains what is needed
    3) Run scons clean
    4) Verify the build files are gone
    
    Test 2: Use the mobile sdk
    1) Run scons
    2) Extract the sdk so Titanium Studio can use it
    3) Open Titanium Studio and create a new project
    4) Verify the templates were created properly
    5) Run for simulator
    6) Verify the app is built, deployed, and run
    dlifshitz-maca committed May 11, 2012
    Configuration menu
    Copy the full SHA
    855adcb View commit details
    Browse the repository at this point in the history

Commits on May 15, 2012

  1. TIMOB-8926: addressed review comments:

    - add build looging (and ignore the file)
    - rename buildType and output
    - removed extra .gitignore
    - removed unused variable
    - don't include the unneeded .h files in tibb
    dlifshitz-maca committed May 15, 2012
    Configuration menu
    Copy the full SHA
    32d0872 View commit details
    Browse the repository at this point in the history
  2. some usage info

    dlifshitz-maca committed May 15, 2012
    Configuration menu
    Copy the full SHA
    00a43e4 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2012

  1. Merge branch 'master' into TIMOB-8926_01

    Conflicts:
    	drillbit/modules/drillbit/0.1.0/blackberry.js
    	drillbit/modules/drillbit/0.1.0/drillbitmodule.js
    	support/blackberry/blackberryndk.py
    	support/blackberry/builder.py
    dlifshitz-maca committed May 22, 2012
    Configuration menu
    Copy the full SHA
    6e6c504 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04ef588 View commit details
    Browse the repository at this point in the history
  3. TIMOB-8926

    - change log level
    - only package tibb.h and not the .h files for libv8
    dlifshitz-maca committed May 22, 2012
    Configuration menu
    Copy the full SHA
    558be17 View commit details
    Browse the repository at this point in the history