[TIMOB-17069] CLI: Generic Build only Flag "-b/--build-only" not working for android platform
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-09T18:51:53.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | n/a |
Components | CLI |
Labels | module_cli, qe-3.3.0, qe-closed-3.3.0, qe-testadded, regression |
Reporter | Priya Agarwal |
Assignee | Chris Barber |
Created | 2014-06-04T09:46:00.000+0000 |
Updated | 2014-06-09T19:52:29.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
iOSLogsWorkingFine.txt | 2014-06-04T10:59:56.000+0000 | 64655 |
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?
No device is connected while executing this scenario. I don’t think we require any device connected in order to execute the command “ti build -p android -b true” According to the docs http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Command-Line_Interface_Reference -b,—build-only command when used will Only perform the build. And it is working fine for iOS.(no iOS Device was connected) ti build -p ios -b true Only build is performed and no simulator launches. Have attached logs for iOS.
Hmm, I still can't reproduce it. I'll bring it up in the triage meeting tomorrow. BTW, you probably don't want to pass in the
true
after the-b
. It's a flag and implicitly istrue
when set.Tested on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140603152512 Titanium CLI, build: 3.3.0-beta2 Alloy: 1.4.0-beta Android SDK Tools: 22.6.3 Android Build Tools: 19.1 Android Platform Tools: 19.0.2 Tried the following:
All throw the error described in the description.
I was able to reproduce the bug. You must have the
android.autoSelectDevice
flag set to true.Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5777 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5778
With
android.autoSelectDevice
true, I can runti build -p android -b true
without error.Verified fixed on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201406061445 Titanium SDK, build: 3.3.0.v20140609115713 Titanium CLI, build: 3.3.0-beta3 Alloy: 1.4.0-beta2 Used the following:
Project built successfully each time and did not build to a device or emulator. Closing.