[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 Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-12T21:41:44.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.1.0, 2012 Sprint 25, 2012 Sprint 25 JS |
Components | CLI |
Labels | 3.0.0.rc2, qe-cli, qe-manualtest |
Reporter | Lokesh Choudhary |
Assignee | Chris Barber |
Created | 2012-12-05T20:24:50.000+0000 |
Updated | 2014-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.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3538 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3541
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
reopened to correct labels