{ "id": "93705", "key": "TIMOB-9730", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "92566", "key": "TIMOB-9317", "fields": { "summary": "Module Projects: Support multiple Javascript files", "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": "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": "13872", "description": "", "name": "Sprint 2012-16 Core", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-16T10:54:28.000+0000", "created": "2012-06-22T14:07:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-port" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "51702", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "160272", "key": "TIMOB-23383", "fields": { "summary": "Parity: Titanium CommonJS modules cannot require relative files", "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": "30551", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "117839", "key": "TIMOB-14723", "fields": { "summary": "iOS: Unable to support multiple JS files per module", "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": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-05-16T17:42:24.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": "See super task for requirements.", "attachment": [ { "id": "30305", "filename": "assets.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T15:09:48.000+0000", "size": 1554, "mimeType": "application/zip" }, { "id": "30308", "filename": "timob9730.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T15:48:58.000+0000", "size": 3127017, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Support multiple JS files per module", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "212997", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h2. TESTING\r\n----\r\n\r\n*IMPORTANT* - Complete these steps on all three *desktop* platforms!\r\n\r\nh4. Module build\r\n\r\n# Create a new module project for Android with the id {{com.foo.bar}} - only the ID matters. This module MUST be created with 2.2.0 SDK being tested with.\r\n# Download the attached {{assets.zip}}\r\n# unzip {{assets.zip}} in the directory of the new module project\r\n# run ant to build the module.\r\n\r\n\r\n*PASS*:\r\n\r\n# The module has built correctly\r\n# The module's {{build/generated/java/com/foo/bar/AssetCryptImpl.java}} file contains a function named {{initAssets}} which puts these hash keys in a hash named {{assets}}:\r\n#* com.foo.bar.js\r\n#* test1.js\r\n#* subdir/test2.js\r\n\r\nOnce the module build passes testing, install it in {{/Library/Application Support/Titanium}} in the usual way.\r\n\r\nh4. Project (2.2.0 branch that you are testing)\r\n\r\n*IMPORTANT*: Run this test project with both V8 and Rhino!\r\n\r\n# Download the attached {{timob9730.zip}} and unzip it.\r\n# Import the resulting directory into TiStudio\r\n# Run project\r\n\r\n*PASS:*\r\n\r\nThe console output from the app will include the following:\r\n\r\n{code}\r\n[INFO] foo.foo:\r\n[INFO] bar\r\n[INFO] foo.dorp:\r\n[INFO] dorp\r\n[INFO] mod.test:\r\n[INFO] hellz yes\r\n[INFO] woo :)\r\n[INFO] Fold Goggold Jeff Goldgate Jeff Jeffgold Foldgold Blumgold Cool Jeffjeff Gatecool Game Coolcold Blum Gateblum Coolgold Goldjeff Game Gamegame Gate Oldgold Jeff Goldblast Jeff Gotgamesgold. Cool cool cool game.\r\n[INFO] woo.woo:\r\n[INFO] woo :)\r\n[INFO] jeff.gamegold:\r\n[INFO] Fold Goggold Jeff Goldgate Jeff Jeffgold Foldgold Blumgold Cool Jeffjeff Gatecool Game Coolcold Blum Gateblum Coolgold Goldjeff Game Gamegame Gate Oldgold Jeff Goldblast Jeff Gotgamesgold. Cool cool cool game.\r\n{code}\r\n\r\nThis looks redundant but tests ALL of the following features:\r\n\r\n* Relative pathing outside modules\r\n* Relative pathing inside modules\r\n* Absolute pathing outside modules\r\n* Absolute pathing inside modules\r\n* Loading module resource before module\r\n* Loading module as {{module.id/module.id}}\r\n\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T15:08:40.000+0000", "updated": "2012-08-06T15:58:10.000+0000" }, { "id": "213056", "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/2684", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-06T18:18:52.000+0000", "updated": "2012-08-06T18:18:52.000+0000" }, { "id": "227990", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Working as expected. Tested in following environment:\r\nTitanium SDK:3.0.0.v20121113170203\r\nTitanium  Studio:3.0.0.201211131839", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-20T10:34:43.000+0000", "updated": "2012-11-20T10:34:43.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }