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

CLI: Android: Keystore password not being properly set

    Details

      Description

      When the <sdk-version> in the tiapp.xml is >3.2.0 and different than the selected Titanium SDK, the --store-password param gets incorrect converted to --password.

      To reproduce, run:

      ti build -p android -T dist-playstore --keystore ~/appc/workspace/mykeystore --store-password 123123 --alias myalias
      

      Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.0.GA
      Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
      [INFO]  tiapp.xml <sdk-version> set to 3.3.0, but current Titanium SDK set to 3.2.0.GA
      [INFO]  Forking correct SDK command: "/usr/local/bin/node" "/usr/local/bin/ti" "build" "--sdk" "3.3.0" "--config-file" "/Users/chris/.titanium/config.json" "--platform" "android" "--project-dir" "/Users/chris/appc/workspace/testapp2" "--log-level" "trace" "--alias" "myalias" "--android-sdk" "/opt/android-sdk" "--keystore" "/Users/chris/appc/workspace/mykeystore" "--password" "*******" "--target" "dist-playstore"
      <snip>
      

      Notice that the correct SDK command has --password instead of --store-password.

      This bug was introduced in Titanium SDK 3.2.0.GA.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
              Reviewer:
              Hieu Pham
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code