{ "id": "130742", "key": "TIMOB-17009", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-05-21T20:41:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "55263", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "167213", "key": "TIMOB-24608", "fields": { "summary": "Android: respackage value in native module's manifest is ignored", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "37770", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103072", "key": "TIMOB-11360", "fields": { "summary": "Tooling: Android module build scripts throw NoClassFoundException when native Android project is included as library which has UI built in XML", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:36.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "The current Android module structure only supports a single directory where the platform specific resources can be placed (/android/platform/android/res). This directory is directly copied into the build folder of the app.\r\n\r\nTIMOB-11360 added support for generating package specific R.java files via the respackage entry in the manifest. \r\n\r\nWe need to add support for multiple module specific resource folders in a similar fashion.", "attachment": [], "flagged": false, "summary": "Tooling: Android Module need to add support for multiple res directories", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "306028", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Hi, not sure how you're planning on solving this, but my suggestion:\r\nAllow the respackageinfo file to specify the res directory per class, i.e. each line in the respackageinfo file can look like:\r\n{code}\r\ncom.some.class, directory_name\r\n{code}\r\nwhere directory_name can be a subdirectory in the module's platform directory, or if it starts with a '/' then it's an absolute path in the OS.\r\n\r\nPersonally I don't think it needs to go in the manifest, the developer can just create a respackageinfo file by hand.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-05-22T03:07:18.000+0000", "updated": "2014-05-22T03:07:18.000+0000" }, { "id": "376337", "author": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "body": "\r\nWhether there is a temporary solution? Need to generate more then one com.my.lib.R.java ", "updateAuthor": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "created": "2016-02-09T14:49:40.000+0000", "updated": "2016-02-09T14:49:40.000+0000" }, { "id": "389295", "author": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "body": "I also need to generate more than one *R.java for our module project. Is there an (unsupported) solution for this anywhere that could get us to a build state?", "updateAuthor": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "created": "2016-06-28T19:48:08.000+0000", "updated": "2016-06-28T19:48:08.000+0000" }, { "id": "407273", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "We have developed a patch for SDK 6.0.1.GA With this patch you can use multiple res folders and aars. Instructions you find here: https://github.com/AppWerft/TitaniumAndroidModuleDevelopment/blob/master/Titanium-Modules_AAR-Support.pdf Please contact if interesse.", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-17T11:52:36.000+0000", "updated": "2017-02-17T11:52:36.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }