{ "id": "78043", "key": "TIMOB-4737", "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": "11366", "description": "", "name": "Sprint 2011-34", "archived": true, "released": true, "releaseDate": "2011-08-29" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-08-29T13:28:20.000+0000", "created": "2011-07-20T17:07:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "12510", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "79519", "key": "TIMOB-5076", "fields": { "summary": "Android: update timodule.xml documentation to explain token substitutions", "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 } } } }, { "id": "11704", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "76945", "key": "MOD-113", "fields": { "summary": "Improve tooling to allow substituation parameters for Android package name", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2014-06-19T12:46:13.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": "10207", "name": "Tooling" } ], "description": "Enhance the build tools for android so that substitution parameters can be applied in the timodule.xml. The timodule.xml file contains manifest information that gets inserted into the android.manifest file during the build process. The Urban Airship module, for example, requires that the package name be set as part of the category name. Currently the user must update the timodule.xml with the package name, but it should be possible to automate this by allowing the specification of substitution parameters (for example, __PACKAGE_NAME__) so that the build process replaces __PACKAGE_NAME__ with the name of the package.\r\n\r\nExample:\r\n\r\n{code:title=timodule.xml}\r\n \r\n \r\n\t\r\n\t \r\n\t \r\n\t \r\n\t\t \r\n\t\t \r\n\t \r\n\t \r\n\t \r\n\t\t \r\n\t\t \r\n\t \r\n\t\r\n \r\n\r\n\t\r\n\t\r\n\t\r\n\t\t\t\r\n\t\r\n\t\r\n\t\t\r\n \r\n{code}\r\n\r\nWhen built would be inserted into the android.manifest file as\r\n\r\n{code:title=AndroidManifest.xml}\r\n\r\n\r\n...\r\n\r\n\t\r\n\r\n...\r\n\t \r\n\t\t \r\n\t\t \r\n\t \r\n\t \r\n\t \r\n\t\t \r\n\t\t \r\n\t \r\n...\r\n\t\r\n{code}", "attachment": [ { "id": "22626", "filename": "ti.bogus-android-0.1.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-22T13:28:22.000+0000", "size": 12361, "mimeType": "application/zip" } ], "flagged": false, "summary": "Tooling: Allow substitution parameters for Android package name", "creator": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "162802", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Use the ${...} notation instead of the notation shown in the initial example", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-15T07:30:32.000+0000", "updated": "2011-08-15T07:30:32.000+0000" }, { "id": "163655", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Bogus titanium module to use for testing", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-22T13:28:22.000+0000", "updated": "2011-08-22T13:28:22.000+0000" }, { "id": "163657", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Testing Notes:\r\n\r\n* Create a titanium project.\r\n\r\n* Dump the attached module zip into its root folder.\r\n\r\n* Build the project.\r\n\r\n* Open {{modules/android/ti.bogus/0.1/timodule.xml}} just so you can see what I put in there. You'll notice the mako (template engine) tokens in a few places, namely in the attribute values for the {{bogus}} and {{bogus2}} elements. The idea here is that the token {{$\\{tiapp.properties\\['id\\]\\}}} will be replaced with the id of the app you create.\r\n\r\n* Now open {{build/android/AndroidManifest.xml}} and look for those {{bogus}} and {{bogus2}} elements. Also make sure that the {{android.permission.DEVICE_POWER}} permission is in the AndroidManifest.xml. Because I touched that area of code, I want to be sure permissions still get in there correctly.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-22T13:33:58.000+0000", "updated": "2011-08-22T13:33:58.000+0000" }, { "id": "163659", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/403", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-22T13:37:34.000+0000", "updated": "2011-08-22T13:37:34.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }