[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 Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-01-13T17:13:32.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 01 JS, 2013 Sprint 01 |
Components | CLI |
Labels | qe-and100112 |
Reporter | Lokesh Choudhary |
Assignee | Chris Barber |
Created | 2012-12-11T22:12:20.000+0000 |
Updated | 2017-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
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.
Closing ticket as "Cannot Reproduce", if you encounter any further problems please file a new ticket.