{ "id": "131228", "key": "TIMOB-17069", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-09T18:51:53.000+0000", "created": "2014-06-04T09:46:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_cli", "qe-3.3.0", "qe-closed-3.3.0", "qe-testadded", "regression" ], "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": "2014-06-09T19:52:29.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" } ], "attachment": [ { "id": "48601", "filename": "iOSLogsWorkingFine.txt", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-04T10:59:56.000+0000", "size": 64655, "mimeType": "text/plain" } ], "flagged": false, "summary": "CLI: Generic Build only Flag \"-b/--build-only\" not working for android platform", "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)", "closedSprints": [ { "id": 119, "state": "closed", "name": "2014 Sprint 11 Tooling", "startDate": "2014-05-27T16:30:27.477Z", "endDate": "2014-06-07T01:30:00.000Z", "completeDate": "2014-06-12T20:51:59.189Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "307484", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "It works for me. Do you have an Android device connected? Can you disconnect it and try again? Does this bug have anything to do with a device being connected?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-04T10:42:57.000+0000", "updated": "2014-06-04T10:42:57.000+0000" }, { "id": "307487", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "No device is connected while executing this scenario.\r\nI don’t think we require any device connected in order to execute the command “ti build -p android -b true”\r\n\r\nAccording to the docs http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Command-Line_Interface_Reference\r\n-b,—build-only command when used will Only perform the build.\r\n And it is working fine for iOS.(no iOS Device was connected)\r\nti build -p ios -b true\r\n\r\nOnly build is performed and no simulator launches.\r\nHave attached logs for iOS. ", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-04T10:59:30.000+0000", "updated": "2014-06-04T10:59:30.000+0000" }, { "id": "307488", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Hmm, I still can't reproduce it. I'll bring it up in the triage meeting tomorrow.\r\n\r\nBTW, you probably don't want to pass in the {{true}} after the {{-b}}. It's a flag and implicitly is {{true}} when set.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-04T11:03:30.000+0000", "updated": "2014-06-04T11:03:30.000+0000" }, { "id": "307547", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405271647\r\nTitanium SDK, build: 3.3.0.v20140603152512\r\nTitanium CLI, build: 3.3.0-beta2\r\nAlloy: 1.4.0-beta\r\nAndroid SDK Tools: 22.6.3\r\nAndroid Build Tools: 19.1\r\nAndroid Platform Tools: 19.0.2\r\n\r\nTried the following:\r\n{code}\r\n'-b', '--build-only', '-b true' and '--build-only true' \r\n{code}\r\nAll throw the error described in the description.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-04T18:56:17.000+0000", "updated": "2014-06-04T18:57:26.000+0000" }, { "id": "307856", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I was able to reproduce the bug. You must have the {{android.autoSelectDevice}} flag set to true.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-06T17:55:31.000+0000", "updated": "2014-06-06T17:55:31.000+0000" }, { "id": "307857", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5777\r\n3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5778", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-06T18:00:17.000+0000", "updated": "2014-06-06T18:00:17.000+0000" }, { "id": "308065", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "With {{android.autoSelectDevice}} true, I can run {{ti build -p android -b true}} without error.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-06-09T18:51:53.000+0000", "updated": "2014-06-09T18:51:53.000+0000" }, { "id": "308073", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201406061445\r\nTitanium SDK, build: 3.3.0.v20140609115713\r\nTitanium CLI, build: 3.3.0-beta3\r\nAlloy: 1.4.0-beta2\r\n\r\nUsed the following:\r\n{code} '-b', '--build-only', '-b true' and '--build-only true' {code}\r\nProject built successfully each time and did not build to a device or emulator.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-09T19:52:02.000+0000", "updated": "2014-06-09T19:52:02.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }