Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11967] CLI : Need to change verbage of the '-s' & '--sdk' flags in build command which parses the tiapp.xml for the sdk,rather than using the sdk mentioned in the command to build the app.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-08-12T21:41:44.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2012 Sprint 25, 2012 Sprint 25 JS
ComponentsCLI
Labels3.0.0.rc2, qe-cli, qe-manualtest
ReporterLokesh Choudhary
AssigneeChris Barber
Created2012-12-05T20:24:50.000+0000
Updated2014-08-12T21:42:08.000+0000

Description

Steps to reproduce: 1.Create an android(or iOS) app using CLI. 2.Build using the 'build' command with '-s ' or '--sdk'. 3.Notice that CLI builds the app using the sdk in the tiapp.xml rather than the sdk specified in the '-s' or '--sdk'. 4.The '-s' command just parses the tiapp.xml & picks up the sdk in the tiapp.xml to build the app & ignores the sdk passed with '-s' flag. This is confusing with the current description of '-s' & '--sdk' flag in CLI which is: "Titanium SDK version to use" Expected results: We need to change it to a proper description which is not confusing.

Comments

  1. Chris Barber 2012-12-06

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3538 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3541
  2. Eric Merriman 2012-12-08

    verified fixed with: SDK: 3.0.0.v20121207120202 Titanium Studio, build: 3.0.0.201212061921 Mac OS X 10.8.2 Xcode 4.5.2 CLI: 3.0.20 Now seeing: -s, --sdk Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by in the tiapp.xml
  3. Olga Romero 2014-08-12

    reopened to correct labels

JSON Source