{ "id": "104998", "key": "TIMOB-11776", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14627", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24 JS", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-21T23:39:45.000+0000", "created": "2012-11-15T01:10:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "qe-ios100112", "qe-nfc", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "22812", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "104906", "key": "TIMOB-11753", "fields": { "summary": "CLI: titanium config paths.sdks arg0 is additive, should replace entire path", "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": "22811", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "104924", "key": "TISTUD-2776", "fields": { "summary": "Titanium CLI: Pass in Titanium SDK directory to 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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "23241", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "105790", "key": "TIMOB-11915", "fields": { "summary": "MobileWeb: can't build project with ti.cloud module", "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 } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-20T17:22:19.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": "Can't build project containing modules if cli is enabled and sdk path is in non-default location.\r\n\r\nThis is a regression. It works from the old cli.\r\n\r\n.titanium/config.json\r\n\r\n{code}\r\n{\r\n\t\"user\": {\r\n\t\t\"locale\": \"en-us\"\r\n\t},\r\n\t\"app\": {\r\n\t\t\"sdk\": \"latest\",\r\n\t\t\"workspace\": \"\"\r\n\t},\r\n\t\"cli\": {\r\n\t\t\"colors\": true,\r\n\t\t\"completion\": false,\r\n\t\t\"logLevel\": \"info\",\r\n\t\t\"prompt\": true,\r\n\t\t\"failOnWrongSDK\": false,\r\n\t\t\"quiet\": false\r\n\t},\r\n\t\"paths\": {\r\n\t\t\"commands\": [],\r\n\t\t\"hooks\": [],\r\n\t\t\"modules\": [],\r\n\t\t\"plugins\": [],\r\n\t\t\"sdks\": [\r\n\t\t\t\"/Users/dhyde/Desktop/titanium\"\r\n\t\t]\r\n\t},\r\n\t\"android\": {\r\n\t\t\"sdkPath\": \"/Users/dhyde/Desktop/android/android-sdk-r20.0.3\",\r\n\t\t\"ndkPath\": \"/Users/dhyde/Desktop/android/android-ndk-r8b\"\r\n\t}\r\n}\r\n{code}\r\n\r\nNote: Setting paths.modules had no effect (either for '.../titanium' or '.../titanium/modules').\r\n\r\nSteps to Reproduce:\r\n\r\nNote: Steps 1-3 are meant to configure a Titanium SDK in a non-standard location.\r\n\r\n1. Move Titanium SDK to the Desktop (e.g., Desktop/Titanium/).\r\n2. Set Titanium SDK in Studio Preferences to new location.\r\n3. Add titanium path to .titanium/config.json (see above, or use 'titanium config paths.sdk ' command in terminal).\r\n\r\n4. Create Titanium Project w/ACS Enabled.\r\n5. Run Project in SDK 3.0.0+.\r\n\r\nActual Result:\r\n\r\nCommand (in Studio):\r\n\r\n{code}\r\n!ENTRY com.aptana.core 1 0 2012-11-14 16:29:58.799\r\n!MESSAGE (Build 3.0.0.201211131839) [INFO] com.aptana.core/debug/shell Running process:\r\nProcess: \"/usr/local/bin/titanium\" \"--no-banner\" \"--no-colors\" \"--no-prompt\" \"build\" \"--platform\" \"iphone\" \"--sdk\" \"3.0.0.v20121113111657\" \"--log-level\" \"trace\" \"--target\" \"simulator\" \"--ios-version\" \"6.0\" \"--device-family\" \"iphone\"\r\nWorking directory: /Users/dhyde/Desktop/tistud/rc/workspace/TiProject\r\nEnvironment: {ANDROID_NDK=/Users/dhyde/Desktop/android/android-ndk-r8b, ANDROID_SDK=/Users/dhyde/Desktop/android/android-sdk-r20.0.3, APTANA_VERSION=3.0.0.1346448223, Apple_PubSub_Socket_Render=/tmp/launch-uOBKPF/Render, Apple_Ubiquity_Message=/tmp/launch-zMAdSZ/Apple_Ubiquity_Message, COMMAND_MODE=unix2003, COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/DHYDE/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/tmp/launch-xxuSXL/ServiceProcessSocket, HOME=/Users/dhyde, LANG=en_US.UTF-8, LOGNAME=dhyde, NUM_CPUS=4, PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/dhyde/Desktop/android/android-sdk-r20.0.3/tools:/Users/dhyde/Desktop/android/android-sdk-r20.0.3/platform-tools, PWD=/Users/dhyde/Desktop/tistud/rc/workspace/TiProject, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-WTnmk6/Listeners, TI_DEBUG=0, TMPDIR=/var/folders/6f/wxjmlj0n7kl5w8kmq5hrrbch0000gp/T/, USER=dhyde, __CF_USER_TEXT_ENCODING=0x1F6:0:0, com.apple.java.jvmTask=JNI}\r\n{code}\r\n\r\nError:\r\n\r\n{code}\r\n[WARN] : \b\b \bCould not find Titanium module id: ti.cloud version: latest platform: undefined\r\n[ERROR] : \b\b \bCould not find all required Titanium Modules:\r\n[ERROR] : \b\b \b id: ti.cloud\t version: latest\t platform: commonjs\r\n{code}\r\n\r\nExpected Result:\r\n\r\nSame result as old CLI, which is success.\r\n\r\nOld Python Command (in Studio):\r\n\r\n{code}\r\n!ENTRY com.aptana.core 1 0 2012-11-14 16:34:16.769\r\n!MESSAGE (Build 3.0.0.201211131839) [INFO] com.aptana.core/debug/shell Running process:\r\nProcess: \"/usr/bin/python\" \"/Users/dhyde/Desktop/titanium/mobilesdk/osx/3.0.0.v20121113111657/iphone/builder.py\" \"simulator\" \"6.0\" \"/Users/dhyde/Desktop/tistud/rc/workspace/TiProject\" \"com.appcelerator.tiproject\" \"TiProject\" \"universal\" \"iphone\"\r\nWorking directory: null\r\nEnvironment: {ANALYTICS_SOURCE=studio, ANDROID_NDK=/Users/dhyde/Desktop/android/android-ndk-r8b, ANDROID_SDK=/Users/dhyde/Desktop/android/android-sdk-r20.0.3, APTANA_VERSION=3.0.0.1346448223, Apple_PubSub_Socket_Render=/tmp/launch-uOBKPF/Render, Apple_Ubiquity_Message=/tmp/launch-zMAdSZ/Apple_Ubiquity_Message, COMMAND_MODE=unix2003, COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/DHYDE/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/tmp/launch-xxuSXL/ServiceProcessSocket, DEVELOPER_DIR=/Users/dhyde/Desktop/ios/xcode/xcode-4.5.2/Xcode.app/Contents/Developer, HOME=/Users/dhyde, JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, LANG=en_US.UTF-8, LOGNAME=dhyde, NUM_CPUS=4, PATH=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/dhyde/Desktop/android/android-sdk-r20.0.3/tools:/Users/dhyde/Desktop/android/android-sdk-r20.0.3/platform-tools, PWD=/Users/dhyde/Desktop/tistud/rc/titanium-studio/TitaniumStudio.app/Contents/MacOS, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-WTnmk6/Listeners, TI_DEBUG=0, TMPDIR=/var/folders/6f/wxjmlj0n7kl5w8kmq5hrrbch0000gp/T/, USER=dhyde, __CF_USER_TEXT_ENCODING=0x1F6:0:0, com.apple.java.jvmTask=JNI}\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Could not find all required Titanium Modules: ti.cloud if Titanium SDK not in default location", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium CLI: 3.0.16\r\nTitanium SDK: 3.0.0.v20121113111657\r\nTitanium Studio: 3.0.0.201211131839\r\nTitaniumStudio.ini args: -Dtitanium.bypassNewCLI=true\r\nOS: Mountain Lion 10.8.2\r\nTitanium SDK Directory: /Users/dhyde/Desktop/titanium/mobilesdk\r\nTitanium Modules Directory: /Users/dhyde/Desktop/titanium/modules\r\nDevices Tested: iPhone Simulator 6.0", "comment": { "comments": [ { "id": "228316", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3466\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3467", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-21T23:13:06.000+0000", "updated": "2012-11-21T23:13:06.000+0000" }, { "id": "413744", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:22:19.000+0000", "updated": "2017-03-20T17:22:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }