{ "id": "155423", "key": "TIMOB-20519", "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": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-07T20:50:38.000+0000", "created": "2016-03-04T22:10:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.2.1" ], "versions": [ { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [ { "id": "50869", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "155416", "key": "CLI-957", "fields": { "summary": "Unable to build modules from Appc CLI", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2016-03-07T22:00:16.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": "10207", "name": "Tooling" } ], "description": "When specifying {{--project-dir .}} when trying to build a module, the build will fail.\r\n\r\n*Steps to reproduce issue*\r\n1. Try to build a module with {{ti build -p ios --project-dir . -b}}\r\n\r\n*Actual Results*\r\nThe build fails with:\r\n{{[ERROR] Unable to find \"undefined\" module}}\r\n\r\n*Expected Results*\r\nThe build succeeds", "attachment": [], "flagged": false, "summary": "'--project dir .' causes module build to fail", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 596, "state": "closed", "name": "2016 Sprint 05 Tooling", "startDate": "2016-02-27T01:30:53.769Z", "endDate": "2016-03-12T01:30:00.000Z", "completeDate": "2016-03-14T11:54:10.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "378802", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "There are two things that need to be done.\r\n\r\n# Change the order of the {{\\-\\-platform}} and {{\\-\\-project\\-dir}} options in https://github.com/appcelerator/titanium_mobile/blob/master/cli/commands/build.js. Currently {{\\-\\-project\\-dir}} is validated first, then {{\\-\\-platform}}. If we swap this, then {{cli.argv.platform}} will be set when the {{\\-\\-project\\-dir}} validation runs.\r\n# Normalize the platform name in the module's manifest which is done here: https://github.com/appcelerator/titanium_mobile/blob/master/node_modules/titanium-sdk/lib/titanium.js#L359. This is done like this:\r\n\r\n{code}\r\nif (cli.argv.platform !== exports.resolvePlatform(manifest.platform)) {\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-03-04T22:23:03.000+0000", "updated": "2016-03-04T22:23:03.000+0000" }, { "id": "379024", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7806\r\n5_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/7807\r\n5_3_X PR: https://github.com/appcelerator/titanium_mobile/pull/7808", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-03-07T17:51:18.000+0000", "updated": "2016-03-07T17:51:18.000+0000" }, { "id": "379056", "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-03-07T20:50:38.000+0000", "updated": "2016-03-07T20:50:38.000+0000" }, { "id": "379064", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.5.0.201602170821\r\nTi SDK 5.2.1.v20160307134704\r\nAppc NPM 4.2.4.2\r\nAppc CLI 5.2.1-11\r\nAlloy 1.7.35\r\nXcode 7.2 (7C68)\r\n\r\nAble to successfully build modules using {{--project-dir .}} and {{--platform}} in the command, in any order.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-07T22:00:16.000+0000", "updated": "2016-03-07T22:00:16.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }