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

Tooling: Command-Line: Titanium create command runs successfully with same project name as that of an existing project in the same directory


    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 2.1.0
    • Fix Version/s: None
    • Component/s: CLI, Tooling
    • Labels:
    • Environment:

      Titanium Studio:
      Titanium SDK: 2.1.0.v20120622174154
      OS: Mac OSX 10.7.3


      Using the Titanium Create command through the command line, a titanium mobile project can be created in a directory with the same project name and App ID that already exists in that same directory. Also noticed that changes in Tiapp.XML of existing project get overwritten when project with same name gets created

      Not a regression. This occurs as far as 1.8.2.

      Steps to Reproduce:
      1. In the terminal, run the following command
      titanium create --platform=android --android=<path to android sdk> --id=COM.appcelerator.testapp --name=testapp --dir=/Appcelerator/Testing
      2. After the project gets created make some changes in the Tiapp.XML file.
      3. Again go to the terminal and re-run the above command

      Actual: Success message is shown for creation of the project. Check the project and Tiapp.XML file. The updated time is shown as the time when the command was run the second time. Also changes in XML file do not exist.

      Expected: The creation of project with same should not be allowed through Titanium Create command




            • Assignee:
              cbarber Chris Barber
              ssekhri Satyam Sekhri
            • Watchers:
              1 Start watching this issue


              • Created:

                Backbone Issue Sync

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

                  Git Integration