{ "id": "115526", "key": "ALOY-690", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15489", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-06T16:18:46.000+0000", "created": "2013-06-05T12:38:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "community", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-29T21:40:27.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Currently source maps are generated for all controllers files to facilitate the step through debugger and code processor (and potentially future projects). This does however add additional time to the alloy compile process. We should add an option to the config.json that allows developers to skip the source map step if they are not using the aforementioned features. This will speed up overall compile time.", "attachment": [], "flagged": false, "summary": "Add config.json option to disable source map creation", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "256435", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/147\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-690\r\n\r\nTo pass a functional test, ensure that when you compile this app that no source maps are generated in the compile output. You should also be able to set {{sourcemap}} to {{true}}, or remove the entry entirely, and the source maps should again be generated. This will be easiest to identify if you do a manual compile like this and ensure that the log level is set to trace:\r\n\r\n{code}alloy compile --config platform=ios --logLevel 4{code}\r\n\r\nh3. sample output with source maps\r\n\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"index.xml\"\r\n[INFO] controller: \"index.js\"\r\n[TRACE] - Processing \"builtins\" module...\r\n[TRACE] - Processing \"optimizer\" module...\r\n[TRACE] - Processing \"compress\" module...\r\n[INFO] created: \"Resources/alloy/controllers/index.js\"\r\n[DEBUG] map: \"build/map/Resources/alloy/controllers/index.js.map\"\r\n[INFO] created: \"Resources/alloy/styles/index.js\"\r\n[INFO] \r\n[INFO] [app.js] Titanium entry point processing...\r\n[TRACE] - Processing \"builtins\" module...\r\n[TRACE] - Processing \"optimizer\" module...\r\n[TRACE] - Processing \"compress\" module...\r\n[INFO] created: \"Resources/app.js\"\r\n[DEBUG] map: \"build/map/Resources/app.js.map\"\r\n{code}\r\n\r\nh3. sample output without source maps \r\n\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"index.xml\"\r\n[INFO] controller: \"index.js\"\r\n[TRACE] - Processing \"builtins\" module...\r\n[TRACE] - Processing \"optimizer\" module...\r\n[TRACE] - Processing \"compress\" module...\r\n[INFO] created: \"Resources/alloy/controllers/index.js\"\r\n[INFO] created: \"Resources/alloy/styles/index.js\"\r\n[INFO] \r\n[INFO] [app.js] Titanium entry point processing...\r\n[TRACE] - Processing \"builtins\" module...\r\n[TRACE] - Processing \"optimizer\" module...\r\n[TRACE] - Processing \"compress\" module...\r\n[INFO] created: \"Resources/app.js\"\r\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-06T16:18:46.000+0000", "updated": "2013-06-06T16:18:46.000+0000" }, { "id": "263770", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as working.\r\n\r\nTitanium SDK 3.1.2.v20130726192706\r\nAlloy 1.2.0-alpha\r\nAppcelerator Studio 3.1.3.201307252418\r\nCLI 3.1.2\r\nNode 0.8.22\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T21:40:27.000+0000", "updated": "2013-07-29T21:40:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }