{ "id": "123232", "key": "TIMOB-15893", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-01-07T22:10:22.000+0000", "created": "2013-12-04T23:36:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.3.0" ], "versions": [], "issuelinks": [ { "id": "33503", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "122602", "key": "TIMOB-15739", "fields": { "summary": "Anvil: Update anvil to use the latest 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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:44:17.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": [], "description": "I am trying to add a alternate SDK's folder. \r\nTried adding the paths to the config using\r\n\r\nti config paths.sdks path/to/sdk\r\n\r\nverified that the paths is added properly.\r\n\r\nBut if i try running ti sdk, the SDK's in the new path do not show up and if i try building a app with the sdk from the alternate location, the build fails showing the selected sdk does not exist.\r\n\r\nh3.Steps to Reproduce.\r\n\r\n1. Create a folder with some SDK's say : /Users/sabilrahim/SDK/\r\n2. Include the path in ti config : `ti config paths.sdks /Users/sabilrahim/SDK/`\r\n3. Confirm the path has been added properly. Run ` ti config` and check the paths.sdks\r\n4. Run `ti sdk`\r\n\r\nh3.Actual Result\r\nSDK's from the new folder are not listed\r\n\r\nh3.Expected Result\r\nSDK's from the new folder are listed and can build apps using SDK's placed in directories other than the default one. \r\n\r\n", "attachment": [ { "id": "44387", "filename": "config_afer_addingpath.png", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-04T23:36:35.000+0000", "size": 210473, "mimeType": "image/png" }, { "id": "44388", "filename": "config_before_addingpath.png", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-04T23:36:35.000+0000", "size": 323040, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: Unable to specify a alternate sdks directory using ti config paths.sdks", "creator": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "titanium 3.2.0-beta \r\nSDK - 3.2.0.v20131203104847", "comment": { "comments": [ { "id": "287068", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This works as expected. Custom SDK paths must be to the SDK root, not the SDK itself. In other words, the \"mobilesdk\" folder, not \"3.2.0.GA\".\r\n\r\nSo, if you set \"paths.sdks\" to \"/Users/chris/Desktop\", then the Titanium CLI will scan \"/Users/chris/Desktop\" for a \"mobilesdk\" directory and appropriate OS directory.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-07T22:10:22.000+0000", "updated": "2014-01-07T22:10:22.000+0000" }, { "id": "287122", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "i guess the config help kinda misled me \n\"Set the SDK path overwriting the previous values titanium config paths.sdks /path/to/sdk\"\n\nThanks for taking a look at it though", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-08T00:34:40.000+0000", "updated": "2014-01-08T00:34:40.000+0000" }, { "id": "303864", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as per [~cbarber] comment", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T18:47:55.000+0000", "updated": "2014-05-07T18:47:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }