{ "id": "118815", "key": "ALOY-801", "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": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-20T18:07:25.000+0000", "created": "2013-08-20T17:00:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15602", "description": "Alloy 1.2.2", "name": "Alloy 1.2.2", "archived": false, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-14T21:29: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": null, "attachment": [], "flagged": false, "summary": "Not properly cleaning up platform-specific orphan files", "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": "267345", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/230\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/models/todo\r\n\r\n# make sure your log level is set to TRACE (default on CLI)\r\n# Run the app\r\n# compile the app again. You should see no files removed the \"CLEANING RESOURCES\" section of the log\r\n{code}\r\n[DEBUG] ----- CLEANING RESOURCES -----\r\n[DEBUG] Removing orphaned controllers...\r\n[DEBUG] Removing orphaned models...\r\n[DEBUG] Removing orphaned styles...\r\n[DEBUG] Removing orphaned sync adapters...\r\n[DEBUG] Removing orphaned assets and libs...\r\n[DEBUG] \r\n[DEBUG] ----- BASE RUNTIME FILES -----\r\n{code}\r\n\r\nPrior to this fix, if you followed the above steps for ios, you would get the following log indicating that files were designated as \"orphan\" incorrectly:\r\n\r\n{code}\r\n[DEBUG] ----- CLEANING RESOURCES -----\r\n[DEBUG] Removing orphaned controllers...\r\n[DEBUG] Removing orphaned models...\r\n[DEBUG] Removing orphaned styles...\r\n[DEBUG] Removing orphaned sync adapters...\r\n[DEBUG] Removing orphaned assets and libs...\r\n[TRACE] * iphone/ConsoleReporter.js\r\n[TRACE] * iphone/colors.js\r\n[TRACE] * iphone/ic_menu_add.png\r\n[TRACE] * iphone/jasmine.js\r\n[TRACE] * iphone/red_x.png\r\n[TRACE] * iphone/runtimeTester.js\r\n[TRACE] * iphone/tick_64.png\r\n[TRACE] * iphone/tick_gray_64.png\r\n[DEBUG]\r\n{code}\r\n\r\nWhile this wouldn't impact the app as the files would simply be copied back in, it is inefficient and could potentially impact the speed at which incremental compiles (ALOY-757) would be executed.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-20T18:07:25.000+0000", "updated": "2013-08-20T18:07:25.000+0000" }, { "id": "275051", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\nNo files are shown in the CLEANING RESOURCES process.\n\nTiSDK 3.2.0.v20131013140318 \nAlloy 1.3.0\nCLI 3.2.0\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T21:29:15.000+0000", "updated": "2013-10-14T21:29:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }