Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17070] CLI:Generic Build option "-s/--sdk" is not working

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2014-06-04T10:40:49.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sn/a
ComponentsCLI
Labelsqe-3.3.0
ReporterPriya Agarwal
AssigneeChris Barber
Created2014-06-04T10:37:17.000+0000
Updated2017-03-20T20:50:15.000+0000

Description

Generic Build Options "-s" is not working expected This is not a regression. Steps Followed. 1.Create a project ,you have to be in the project directory to be able to run command "ti build -s 3.2.3.GA" Expected Result: According to docs
-s, --sdk <version>
Titanium SDK version to build with. If not specified, uses the configured default SDK.
Hence CLI must use the version mentioned to build the app when -s command is used. Actual Result: It ignores the version and pick the sdk mentioned in tiapp.xml to build the app

Comments

  1. Chris Barber 2014-06-04

    This is working as designed. The bug is in the docs. If you run titanium help, you'll see the correct description:
          -s, --sdk <version>    Titanium SDK version to use to bootstrap SDK-level commands and parse the
                                 tiapp.xml; actual Titanium SDK used determined by <sdk-version> in the
                                 tiapp.xml  [default: latest]
       
    Please file a ticket against the docs.
  2. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source