Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17191] CLI: "ti build" command doesn't ask for project directory in Windows

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-06-27T16:35:41.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.3.0, Release 3.4.0
ComponentsCLI
Labelsmodule_cli, qe-3.3.0, qe-testadded
ReporterKajenthiran Velummaylum
AssigneeChris Barber
Created2014-06-23T10:14:12.000+0000
Updated2014-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

FileDateSize
Mac.png2014-06-23T10:14:12.000+000051306
win.png2014-06-23T10:14:12.000+000010719

Comments

  1. Chris Barber 2014-06-26

    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
  2. Tim Poulsen 2014-06-27

    works as described
  3. Olga Romero 2014-06-30

    Tested and verified fixed. Titanium SDK, build: 3.3.0.v20140626144112 Windows 7 32-bit CLI 3.3.0-rc4

JSON Source