{ "id": "154809", "key": "ALOY-1351", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-08T20:18:56.000+0000", "created": "2016-02-08T20:16:54.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "17663", "name": "alloy 1.7.33", "archived": false, "released": true, "releaseDate": "2016-01-15" } ], "issuelinks": [], "assignee": { "name": "batman", "key": "batman", "displayName": "Bruce Wayne", "active": true, "timeZone": "America/New_York" }, "updated": "2016-02-08T20:19:05.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Community PR: https://github.com/appcelerator/alloy/pull/751\r\n\r\nWhen compiling only app/alloy.js, generating Resources/alloy.js from template is not required.\r\nBecause Resource/alloy.js is not user's code but builtin code. So when compiling specific controller and alloy.js only, Generate Resource/alloy.js should be skipped.\r\n\r\n\\\\\r\nh5. Reproduce steps\r\n# delete all file of Resources folder.\r\n# run : alloy compile -q ios --config file=app/alloy.js\r\n# you can check compiling result on Resource\r\n{{Resources/iphone/alloy.js}} is generated from template\r\nBut {{Resources/iphone/alloy.js}} is not optimized. It has uncompiled CONSTANT such as OS_MOBILEWEB. it makes undefined error on runtime.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Generating `Resources/alloy.js` from template is not required when selective compile", "creator": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "subtasks": [], "reporter": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "environment": null, "closedSprints": [ { "id": 581, "state": "closed", "name": "2016 Sprint 03 Tooling", "startDate": "2016-02-01T17:29:48.400Z", "endDate": "2016-02-12T17:29:00.000Z", "completeDate": "2016-02-17T05:30:51.233Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "376268", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged. ", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-02-08T20:18:56.000+0000", "updated": "2016-02-08T20:18:56.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }