{ "id": "106319", "key": "TIMOB-12034", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15701", "description": "2013 Sprint 21 Core", "name": "2013 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-19T01:21:37.000+0000", "created": "2012-12-12T01:07:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "androidbuild", "ay-verified", "cb-verified", "qe-and100112", "qe-cli" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "29509", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "115785", "key": "AC-2527", "fields": { "summary": "CLI: Building for android device with --build-only still tries to install and launch application", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29513", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "109747", "key": "TIMOB-12745", "fields": { "summary": "CLI : CLI 'waits for the device' even though the build only flag is specified in the command for android", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31428", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "119168", "key": "TIMOB-14982", "fields": { "summary": "Android Build: Run Hook", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-10-29T19:31:41.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "attachment": [], "flagged": false, "summary": "CLI: Building for android with '-b' -build only flag starts the daemon & waits for the device after building 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.201212101208\r\nSDK Version : 3.0.0.v20121210171701\r\nCLI version : 3.0.21\r\nOS : Mac OSX 10.8.2; Ubuntu 12.04 LTS", "comment": { "comments": [ { "id": "230988", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue is also seen on Ubuntu 12.04 LTS.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-12T01:15:26.000+0000", "updated": "2012-12-12T01:15:26.000+0000" }, { "id": "241996", "author": { "name": "ka", "key": "ka", "displayName": "Yoshiya KANENISHI", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't trace completely, but then, I avoid this problem by running `builder.py` directly.\r\n\r\nRun `~/.titanium/mobilesdk/linux/3.0.0.GA/android/builder.py build PROJECT_NAME ~/android-sdk-linux ~/work/ti/myapp com.mydomain.myappid` instead of `ti build -p android -b`.\r\n\r\nWhere is the origin of this problem in? I have no idea.", "updateAuthor": { "name": "ka", "key": "ka", "displayName": "Yoshiya KANENISHI", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-13T17:08:56.000+0000", "updated": "2013-03-13T17:08:56.000+0000" }, { "id": "248121", "author": { "name": "toshiro", "key": "toshiro", "displayName": "Toshiro Yagi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Workaround: add two lines to ~/Library/Application\\ Support/Titanium/mobilesdk/osx/3.1.0.GA/android/cli/commands/_build.js.\r\n{code}\r\n< \t\t\t\t\tif (cli.argv.target == 'emulator') {\r\n---\r\n> \t\t\t\t\tif (cli.argv['build-only']) {\r\n> \t\t\t\t\t\t\treturn\r\n> \t\t\t\t\t} else if (cli.argv.target == 'emulator') {\r\n{code}", "updateAuthor": { "name": "toshiro", "key": "toshiro", "displayName": "Toshiro Yagi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-18T08:12:36.000+0000", "updated": "2013-04-18T08:13:52.000+0000" }, { "id": "257287", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Android build current does not honor the --build-only flag. It should produce the same identical results as without the flag. This will be fixed for 3.2.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-11T23:03:22.000+0000", "updated": "2013-06-11T23:03:22.000+0000" }, { "id": "257739", "author": { "name": "ewing", "key": "ewing", "displayName": "Eric Wing", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was trying to work around this, but found two different bugs.\r\n\r\nI tried using dist-playstore with --skip-js-minify, but that parameter is ignored which looks like another bug.\r\n\r\nti build --platform android --target dist-playstore --android-sdk=$ANDROID_SDK --alias=foo --keystore=foo.keystore --output-dir=dist --password=foo --skip-js-minify\r\n\r\n\r\nBut I discovered that the --build-only flag seems to 'break' the Javascript compilation/minification step when combined with the dist-playstore.\r\n\r\nti build --platform android --target dist-playstore --build-only --android-sdk=$ANDROID_SDK --alias=foo --keystore=foo.keystore --output-dir=dist --password=foo\r\n\r\nThis works as a workaround for me I think, but technically is another bug.\r\n\r\n", "updateAuthor": { "name": "ewing", "key": "ewing", "displayName": "Eric Wing", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-13T20:43:41.000+0000", "updated": "2013-06-13T20:43:41.000+0000" }, { "id": "275813", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4781", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-19T01:21:37.000+0000", "updated": "2013-10-19T01:21:37.000+0000" }, { "id": "277216", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified and working using:\nMac OSX 10.9 Mavericks\nUbuntu 12.04\nWindows 7\nCLI: 3.2.0\n\nUsing -b will result in build only and CLI will not wait for a device after building.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T19:31:34.000+0000", "updated": "2013-10-29T19:31:34.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }