{ "id": "131230", "key": "TIMOB-17070", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-06-04T10:40:49.000+0000", "created": "2014-06-04T10:37:17.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-20T20:50:15.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": "Generic Build Options \"-s\" is not working expected\r\nThis is not a regression.\r\n\r\nSteps Followed.\r\n1.Create a project ,you have to be in the project directory to be able to run command \"ti build -s 3.2.3.GA\"\r\n\r\nExpected Result:\r\nAccording to docs \r\n{code}\r\n-s, --sdk \r\nTitanium SDK version to build with. If not specified, uses the configured default SDK.\r\n{code}\r\nHence CLI must use the version mentioned to build the app when -s command is used.\r\n\r\nActual Result:\r\nIt ignores the version and pick the sdk mentioned in tiapp.xml to build the app\r\n", "attachment": [], "flagged": false, "summary": "CLI:Generic Build option \"-s/--sdk\" is not working", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc-Studio:3.3.0.201405271647 \r\nsdk:3.3.0.v20140603152512 \r\nacs:1.0.14 \r\nalloy:1.4.0-beta \r\nnpm:1.3.2 \r\ntitanium:3.3.0-beta2 \r\ntitanium-code-processor:1.1.1 \r\nxcode:5.1.1 \r\nOS:Maverick(10.9.2),Windows(8.1)", "comment": { "comments": [ { "id": "307483", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is working as designed. The bug is in the docs. If you run {{titanium help}}, you'll see the correct description:\r\n\r\n{code}\r\n -s, --sdk Titanium SDK version to use to bootstrap SDK-level commands and parse the\r\n tiapp.xml; actual Titanium SDK used determined by in the\r\n tiapp.xml [default: latest]\r\n{code}\r\n\r\nPlease file a ticket against the docs.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-04T10:40:49.000+0000", "updated": "2014-06-04T10:40:49.000+0000" }, { "id": "413970", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:50:15.000+0000", "updated": "2017-03-20T20:50:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }