[TIMOB-17191] CLI: "ti build" command doesn't ask for project directory in Windows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-27T16:35:41.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 3.3.0, Release 3.4.0 |
Components | CLI |
Labels | module_cli, qe-3.3.0, qe-testadded |
Reporter | Kajenthiran Velummaylum |
Assignee | Chris Barber |
Created | 2014-06-23T10:14:12.000+0000 |
Updated | 2014-07-02T05:56:29.000+0000 |
Description
*ti build* command should prompt for project directory if the current directory doesn't contain the tiapp.xml file.
In windows, Cursor blinks and waits indefinitely without any output message when we run "ti build -p android* command. (Please refer attachment win.png)
Steps To Reproduce:
1. Open the command prompt and navigate it to desktop as current directory. (make sure there is no tiapp.xml file in desktop) 2. run *ti build -p android*Actual Result:
Cursor will blinks and waits indefinitely.Expected Result:
CLI should prompt with following message Where is the project directory?:
Note:
*cli.prompt = true* is correctly set in titanium configuration.
This is *not a regression* since it is reproducible in SDK 3.2.3 GA as well.
Issue does *not occur* in Mac OSX (see attachment Mac.png)
Attachments
File | Date | Size |
---|---|---|
Mac.png | 2014-06-23T10:14:12.000+0000 | 51306 |
win.png | 2014-06-23T10:14:12.000+0000 | 10719 |
Confirmed and fixed. Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5860 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5861
works as described
Tested and verified fixed. Titanium SDK, build: 3.3.0.v20140626144112 Windows 7 32-bit CLI 3.3.0-rc4