{ "id": "116758", "key": "TIMOB-14463", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-14T16:58:04.000+0000", "created": "2013-07-02T17:29:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "blackberry-console", "qe-3.1.2", "qe-nfc", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "30019", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "89984", "key": "TIMOB-8721", "fields": { "summary": "BlackBerry: Implement module API", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-03T20:06:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Test:\r\n\r\n1) After building the native modules, put shared library binaries in the modules folder of the project or SDK. The path should be .../modules/blackberry///lib/x86/.so and .../modules/blackberry//lib/arm/.so \r\n\r\n2) After running \"ti build\" look into the application project folder under /Resources/modules, the MY_NATIVE_MODULE should exist. ", "attachment": [], "flagged": false, "summary": "BlackBerry: CLI for native module support needs to load shared libraries ", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "263120", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "git pr:\r\nhttps://github.com/appcelerator/titanium_mobile_blackberry/pull/133", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T06:23:45.000+0000", "updated": "2013-07-25T06:23:45.000+0000" }, { "id": "266154", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test by following the instructions below:\n\n Follow the instructions in TIMOB-14467 to create and build a native module. Copy the module folder to /modules/blackberry. Create a simple Titanium Studio project and edit tiapp.xml to reference the module you created. In the module folder is a simple example JavaScript file that you can replace the the contents of Studio generated app.js to test the module.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T01:16:27.000+0000", "updated": "2013-08-13T01:16:27.000+0000" }, { "id": "266340", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Adding the module in the project in studio & building from studio & CLI is throwing the following errors:\r\n{code}\r\nPath to BlackBerry NDK is: /Applications/bbndk\r\n[INFO] Searching for 1 Titanium Module\r\n[INFO] Found Titanium module id=bbmodule version=latest platform=blackberry deploy-type=development\r\n[INFO] Bundling Titanium Mobile Module bbmodule\r\n[Command] :source /Applications/bbndk/bbndk-env.sh && make TIAPP_NAME=testapp CPULIST=x86 BB_ROOT=/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113713-1163-buaf1y-testapp VARIANTLIST=g \r\n\r\nevents.js:72\r\n throw er; // Unhandled 'error' event\r\n ^\r\nError: ENOENT, open '/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/modules/blackberry/bbmodule/1.0.0/arm/a.le-v7, x86/a-g/x86/a-g/liblibbbmodule.a.a'\r\n{code}\r\n \r\nReopening.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308091728\r\nTi SDK : 3.1.2.v20130812225629\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T23:17:12.000+0000", "updated": "2013-08-13T23:17:12.000+0000" }, { "id": "266379", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_blackberry/pull/161", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T03:51:53.000+0000", "updated": "2013-08-14T03:51:53.000+0000" }, { "id": "266420", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Back port to 3.1.x\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/162", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T15:55:49.000+0000", "updated": "2013-08-14T15:55:49.000+0000" }, { "id": "266505", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & installing the app with module does not gives any errors & builds successfully.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308091728\r\nTi SDK : 3.1.2.v20130814110620\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T21:12:35.000+0000", "updated": "2013-08-14T21:12:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }