Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16852

CLI: Directory to place project has to be specified in CLI version 3.2.3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.3
    • Component/s: CLI
    • Environment:

      Description

      When creating a project, using

      ti create
      

      the one of the option is to specify "Directory to place project:"
      CLI does not use the absolute path to create the project, the directory has to be specified.
      It is a new behavior since CLI 3.2.1, where the project was created in the current working directory, if the other was not specified.

      $ ti create
      Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.2.GA
      Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
      Target platforms (android|blackberry|ios|ipad|iphone|mobileweb|tizen) [android,blackberry,ios,ipad,iphone,mobileweb,tizen]: 
      App ID: com.appc.oldrun
      Project name: oldrun
      Directory to place project: 
      [INFO]  Creating Titanium Mobile application project
      [DEBUG] Copying /Users/orom
      

      New behavior

      mero$ cd ..
      Olgas-MacBook-Pro:~ oromero$ ti create -p all
      Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.3.v20140415094118
      Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
      Project name: oldfolk
       
      App ID: com.appc.oldfolk
       
      Your company/personal URL [http://]: 
       
      Directory to place project: 
      [ERROR] Please specify the workspace directory
       
      Directory to place project: .
       
      [EVENT-HOOK] create.pre [app]
      [INFO]  Creating Titanium Mobile application project
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              oromero Olga Romero
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18638
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code