{ "id": "174773", "key": "TIMOB-27784", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-04-02T13:13:22.000+0000", "created": "2020-02-29T03:14:06.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "build", "clean", "module" ], "versions": [], "issuelinks": [ { "id": "58295", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174874", "key": "TIMOB-27829", "fields": { "summary": "Ti.Module Test Suite: Titanium.Module TIMOB-27784 Standalone Android only", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-02T13:13:22.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": "*Summary:*\r\nWhen developing a module, running the {{appc ti clean}} command on a module directory that is missing a \"libs\" folder will throw an error.\r\n\r\nThis is a minor issue that you can safely ignore. The clean command will successfully delete the \"build\" and \"dist\" folders first if they exist, which is what's most important.\r\n\r\n*Steps to reproduce:*\r\n# Download a zip of the [ti.imagefactory|https://github.com/appcelerator-modules/ti.imagefactory] repo source.\r\n# Unzip the above.\r\n# Open the Terminal.\r\n# {{CD}} to folder: {{./ti.imagefactory/android}}\r\n# Enter: {{appc ti clean}}\r\n# Notice it errors with below message.\r\n# Enter: {{appc run -p android --build-only}}\r\n# Wait for the build to finish.\r\n# Enter: {{appc ti clean}}\r\n# Notice it errors with below message.\r\n\r\n*Result:*\r\n{code}\r\n[ERROR] :Failed to run command \"clean\" \r\n[ERROR] :Error: ENOENT: no such file or directory, scandir '/Users//Development/modules/ti.imagefactory/android/libs'\r\n{code}\r\n\r\n*Reason:*\r\nWe're missing a \"libs\" directory existence check below.\r\n[titanium_mobile/android/cli/commands/_cleanModule.js|https://github.com/appcelerator/titanium_mobile/blob/73c73b6d352ada5918ec30e008c95bf12d7ed633/android/cli/commands/_cleanModule.js#L38]\r\n", "attachment": [], "flagged": false, "summary": "Android: Running \"clean\" on a module will error if \"libs\" folder does not exist", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "454483", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11508\r\nPR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11509", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-29T04:56:20.000+0000", "updated": "2020-02-29T05:04:26.000+0000" }, { "id": "454792", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed on master and 9_0_X branch.\r\nWaiting for Jenkins build on master.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-20T22:28:41.000+0000", "updated": "2020-03-20T22:28:41.000+0000" }, { "id": "454834", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-03-24T13:12:53.000+0000", "updated": "2020-03-24T13:12:53.000+0000" }, { "id": "454939", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this bug, it works fine. Verified with\r\n*Appcelerator*- 8.0.0\r\n*Ti Sdk* : 9.1.0.v20200331065959 and 9.1.0.v20200330110941 ", "updateAuthor": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-02T12:40:11.000+0000", "updated": "2020-04-02T12:49:15.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }