{ "id": "116123", "key": "TIMOB-14270", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15495", "description": "2013 Sprint 13 Core", "name": "2013 Sprint 13 Core", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "15111", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "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-06-21T23:52:52.000+0000", "created": "2013-06-18T18:02:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_android", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-10T09:04:21.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "This change modifies the Android builder script to look for the New Relic module, and if present passes an additional argument to the dx command when it is called. This allows New Relic to do bytecode rewriting for instrumentation.\r\n\r\nThe Java agent argument to dx is passed via a temporary file to avoid issues the dx command has with spaces in file paths. This temporary file is cleaned up after dx runs.", "attachment": [], "flagged": false, "summary": "Android: Add support for New Relic module", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "258426", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR is https://github.com/appcelerator/titanium_mobile/pull/4399. The module is located for https://www.dropbox.com/s/ql7znupcmbamoqn/ti.newrelic-android-0.1.zip for testing purposes.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-18T18:03:30.000+0000", "updated": "2013-06-18T18:03:30.000+0000" }, { "id": "258436", "author": { "name": "newrelic_jared", "key": "newrelic_jared", "displayName": "Jared Stanbrough", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi all,\r\n\r\nSteps to test:\r\n\r\n1. Copy and unzip the ti.newrelic-android-0.1.zip zipfile into your Titanium SDK directory, with other modules.\r\n\r\n2. Register the module with your application by editing `tiapp.xml` and adding the module.\r\n\r\n\r\n ti.newrelic\r\n\r\n\r\n3. Build an Android project, i.e. titanium build --platform android\r\n\r\n4. If builder.py found the newrelic module, there will be an INFO log entry which says \"Adding New Relic Support.\" You will also see an additional argument passed to the dexer (-Jjavaagent)\r\n\r\n5. The rest of the build should proceed as normal and the builder test is verified.\r\n\r\nTo perform a full end to end test of the module:\r\n\r\nIn the test android project's alloy.js add:\r\n\r\nrequire('ti.newrelic').start(\"AA9a2d52a0ed09d8ca54e6317d9c92074f2e9b307b\");\r\n\r\nWhen the app runs, there should be some newrelic messages in logcat.\r\n\r\nPlease let me know if you have any questions. Thanks!\r\n\r\nJared Stanbrough \r\nSenior Engineer, Mobile\r\nNew Relic, Inc.", "updateAuthor": { "name": "newrelic_jared", "key": "newrelic_jared", "displayName": "Jared Stanbrough", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-18T18:36:39.000+0000", "updated": "2013-06-18T18:36:39.000+0000" }, { "id": "259174", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_1_X PR https://github.com/appcelerator/titanium_mobile/pull/4411", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-24T16:10:15.000+0000", "updated": "2013-06-24T16:10:15.000+0000" }, { "id": "259506", "author": { "name": "dhaligas", "key": "dhaligas", "displayName": "Darren Haligas", "active": true, "timeZone": "America/Chicago" }, "body": "@Jared when will the modules for NewRelic on iOS and Android be available to Titanium?", "updateAuthor": { "name": "dhaligas", "key": "dhaligas", "displayName": "Darren Haligas", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-26T14:07:18.000+0000", "updated": "2013-06-26T14:07:18.000+0000" }, { "id": "261233", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\nTitanium sdk: 3.1.2.v20130708163051\r\nStudio: 3.1.2.201307031935\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.2.14\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: Mountain Lion 10.8", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-10T09:04:21.000+0000", "updated": "2013-07-10T09:04:21.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }