{ "id": "159726", "key": "TIMOB-23247", "fields": { "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-01T13:40:04.000+0000", "created": "2016-04-20T11:43:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "56298", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "166680", "key": "TIMOB-24498", "fields": { "summary": "Expose \"ti clean\" for module builds", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "56297", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "165040", "key": "TIMOB-24231", "fields": { "summary": "Android: Clean module build folder appropriately", "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 } } } }, { "id": "51429", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159725", "key": "TIMOB-23246", "fields": { "summary": "Windows: Unable to create Module project", "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 } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2018-06-22T15:42:41.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "{{ti clean}} failed when you run it under the native module project directory. It could cause issue when CMake fails and leaves broken cache files. There's no way to remove it from Titanium CLI now.\r\n\r\n{code}\r\n> appc new -n test --id com.example.test\r\n> cd test\\windows\r\n> ti clean\r\n[ERROR] Invalid project directory \".\"\r\nUse the --project-dir property to specify the project's directory\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "CLI: ti clean does not work for native module projects", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1028, "state": "closed", "name": "2018 Sprint 09 SDK", "startDate": "2018-04-22T22:53:08.928Z", "endDate": "2018-05-06T22:53:00.000Z", "completeDate": "2018-05-07T00:02:15.883Z", "originBoardId": 114 }, { "id": 1018, "state": "closed", "name": "2018 Sprint 07 SDK", "startDate": "2018-03-25T21:59:36.637Z", "endDate": "2018-04-08T21:59:00.000Z", "completeDate": "2018-04-08T17:55:14.467Z", "originBoardId": 114 }, { "id": 1021, "state": "closed", "name": "2018 Sprint 08 SDK", "startDate": "2018-04-08T17:57:36.122Z", "endDate": "2018-04-22T17:57:00.000Z", "completeDate": "2018-04-22T22:51:19.120Z", "originBoardId": 114 }, { "id": 1008, "state": "closed", "name": "2018 Sprint 06 SDK", "startDate": "2018-03-11T22:18:04.396Z", "endDate": "2018-03-25T22:18:00.000Z", "completeDate": "2018-03-25T21:52:36.683Z", "originBoardId": 216 } ], "comment": { "comments": [ { "id": "383367", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~kota] Looks like we don't support {{ti clean}} for module projects for any platform. So this is a larger CLI issue. So we may want to mark this invalid or turn it into a feature request for the CLI to support clean on module projects.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-20T16:10:36.000+0000", "updated": "2016-04-20T16:10:36.000+0000" }, { "id": "434124", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "iOS/Android master (7.2.0): https://github.com/appcelerator/titanium_mobile/pull/9807\r\nWindows master (7.2.0): https://github.com/appcelerator/titanium_mobile_windows/pull/1178", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-02-06T19:21:14.000+0000", "updated": "2018-02-15T14:25:25.000+0000" }, { "id": "437250", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~bimmel] This is merged to master of the SDK (target 7.2.0). It may be useful to note in docs that this command was added but to be careful if you keep historical versions of your module in your {{dist}} directory. Hans and I discussed it here: https://github.com/appcelerator/titanium_mobile/pull/9807#discussion_r170652386\r\n\r\nBasically there are some community members who keep old versions of their modules in their {{dist}} directory and check that into source control (or don't, which is way worse). If they run the new clean command that directory is part of what gets wiped.\r\nIt is poor practice to keep releases there as a means of \"archiving\" them. Releases should be published to a stable location (Github release, S3, whatever). But if the developer wants to retain old releases in the module, they may want to consider using a different folder or being careful to check/commit the zip in to SCM before cleaning (and then being careful not to commit the deletion of the files, though with SCM they can easily get them back).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-05-01T13:45:36.000+0000", "updated": "2018-05-01T13:45:36.000+0000" }, { "id": "438636", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. fix can be seen in SDK Version: {{7.3.0.v20180618062809}} on Windows. Fix can also be seen on Android and IOS in SDK version: {{7.3.0.v20180530072516}}. \r\n\r\nFix was tested with the steps mentioned above. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-22T15:42:28.000+0000", "updated": "2018-06-22T15:42:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }