[TIMOB-17070] CLI:Generic Build option "-s/--sdk" is not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2014-06-04T10:40:49.000+0000 |
| Affected Version/s | Release 3.3.0 |
| Fix Version/s | n/a |
| Components | CLI |
| Labels | qe-3.3.0 |
| Reporter | Priya Agarwal |
| Assignee | Chris Barber |
| Created | 2014-06-04T10:37:17.000+0000 |
| Updated | 2017-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
This is working as designed. The bug is in the docs. If you run
titanium help, you'll see the correct description:Please file a ticket against the docs.-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]Closing ticket as invalid.