{ "id": "106015", "key": "TIMOB-11967", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14785", "description": "2012 Sprint 25 JS", "name": "2012 Sprint 25 JS", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-12T21:41:44.000+0000", "created": "2012-12-05T20:24:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.0.0.rc2", "qe-cli", "qe-manualtest" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-12T21:42:08.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": "Steps to reproduce:\r\n1.Create an android(or iOS) app using CLI.\r\n2.Build using the 'build' command with '-s ' or '--sdk'.\r\n3.Notice that CLI builds the app using the sdk in the tiapp.xml rather than the sdk specified in the '-s' or '--sdk'. \r\n4.The '-s' command just parses the tiapp.xml & picks up the sdk in the tiapp.xml to build the app & ignores the sdk passed with '-s' flag.\r\n\r\nThis is confusing with the current description of '-s' & '--sdk' flag in CLI which is: \"Titanium SDK version to use\"\r\n\r\nExpected results:\r\nWe need to change it to a proper description which is not confusing.\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI : Need to change verbage of the '-s' & '--sdk' flags in build command which parses the tiapp.xml for the sdk,rather than using the sdk mentioned in the command to build the app.", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium studio : 3.0.0.201211301903\r\nSDK Version : 3.0.0.v20121204154658\r\nCLI version : 3.0.19\r\nOS : OSX 10.8.2", "comment": { "comments": [ { "id": "230207", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3538\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3541", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-12-06T11:55:44.000+0000", "updated": "2012-12-06T11:55:44.000+0000" }, { "id": "230510", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "verified fixed with:\nSDK: 3.0.0.v20121207120202\nTitanium Studio, build: 3.0.0.201212061921\nMac OS X 10.8.2\nXcode 4.5.2\nCLI: 3.0.20\n\nNow seeing:\n-s, --sdk Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by in the tiapp.xml ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-08T00:09:33.000+0000", "updated": "2012-12-08T00:09:33.000+0000" }, { "id": "318309", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reopened to correct labels", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-12T21:40:28.000+0000", "updated": "2014-08-12T21:40:28.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }