Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19529] Validation of workspace-dir option always uses default workspace

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-11-25T00:40:11.000+0000
Affected Version/sRelease 5.0.0
Fix Version/sRelease 5.2.0
ComponentsCLI
Labelsn/a
ReporterFokke Zandbergen
AssigneeChris Barber
Created2015-09-16T06:49:32.000+0000
Updated2017-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

Comments

  1. Fokke Zandbergen 2015-09-16

    PR on master: https://github.com/appcelerator/titanium_mobile/pull/7196
  2. Jeff Haynie 2015-11-24

    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
  3. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source