[TIMOB-19529] Validation of workspace-dir option always uses default workspace
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-25T00:40:11.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.2.0 |
Components | CLI |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Chris Barber |
Created | 2015-09-16T06:49:32.000+0000 |
Updated | 2017-03-16T22:13:03.000+0000 |
Description
When you create a project and use
\-d <value>
or \-\-workspace-dir <value>
to use another directory then the default, the validation of the value will still check against the default workspace. Thus, if you already have a project (folder) with the requested name it will fail, even if the alternative workspace set via the option has not.
Bug:
https://github.com/appcelerator/titanium_mobile/blob/master/cli/lib/creator.js#L456-L457
PR on master: https://github.com/appcelerator/titanium_mobile/pull/7196
this should have been in the last release. this is a killer bug and if you have workspace set, you basically cannot use titanium to create an app except in the workspace. we need to merge this ASAP
Closing ticket as fixed.