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

CLI: 3.2.0 version doesn't take the arguments in account if the sdk in config is different from the one in tiapp.xml

    Details

      Description

      If I have in config (titanium config) the app.sdk set to other version than the one present in tiapp.xml of the current project, the forked command doesn't take in account the arguments - like target, or sdk, simulator version, etc

      How to reproduce (Mostafizur Rahman don't close the damn ticket!)

      1. Set the sdk in tiapp.xml to 3.2.0.v20130927153242
      2. Set the config to 3.1.2.GA

      titanium config app.sdk 3.1.2.GA
      

      3. Run

      titanium build -p android --target device
      

      The result:

      Dans-MacBook-Pro-2:mobile Dan$ titanium config app.sdk 3.1.2.GA
      app.sdk saved
      Dans-MacBook-Pro-2:mobile Dan$ titanium build -p android --target device
      Titanium Command-Line Interface, CLI version 3.2.0, Titanium SDK version 3.1.2.GA
      Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
      [INFO]  tiapp.xml <sdk-version> set to 3.2.0.v20130927153242, but current Titanium SDK set to 3.1.2
      [INFO]  Forking correct SDK command: /usr/local/bin/node /usr/local/bin/titanium build --sdk 3.2.0.v20130927153242 --no-build-only --no-force --no-legacy --no-skip-js-minify --no-help --no-version --colors --no-quiet --prompt --progress-bars --banner --platform android --project-dir /Volumes/Work/clients/tobias_group_time/gitted/mobile --log-level trace --config-file /Users/Dan/.titanium/config.json
      
      

      and the emulator starts instead of deploying to device.

      Same stuff happens for iOS too.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              rborn Dan Tamas
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code