Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12030] CLI: In Linux 12.04 the app is not getting created in the default location mentioned in the description of -d' flag which is 'default:~/Desktop'.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-01-13T17:13:32.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2013 Sprint 01 JS, 2013 Sprint 01
ComponentsCLI
Labelsqe-and100112
ReporterLokesh Choudhary
AssigneeChris Barber
Created2012-12-11T22:12:20.000+0000
Updated2017-03-31T22:44:55.000+0000

Description

Steps to reproduce: 1.Launch CLI by typing 'titanium' in the terminal. 2.Do 'ti create -h' 3.In the create options you will see the description for '-d' is 'the directory to place the project in [default: ~/Desktop]' 4.Now create an app using 'titanium create --platforms --id --name -d [--force] [--type ] [--template ] [--sdk ] [--log-level ]',by keeping the '-d' flag without any value. Actual results: 1.The app does not get created on the default location 'desktop' rather it gets created in the directory you currently in inside of the terminal. Expected results: 1.The app should get created in the default location mentioned in the description of -d' flag.

Attachments

FileDateSize
Screenshot from 2012-12-11 13_21_58.png2012-12-11T22:12:20.000+000088502

Comments

  1. Chris Barber 2013-01-13

    The -d, --workspace-dir option is not a flag. It expects a value. If you omit a value, it's ignored and would use the default workspace location or current directory. I did test this -d option with a value and it creates a project in the correct location specified by the -d option.
  2. Lee Morris 2017-03-31

    Closing ticket as "Cannot Reproduce", if you encounter any further problems please file a new ticket.

JSON Source