Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11988] CLI: allow user to set sdk install directory

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-08-12T22:26:34.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0
ComponentsCLI
Labelsqe-cli, qe-closed-3.2.0, qe-ios100112, qe-manualtest
ReporterDustin Hyde
AssigneeChris Barber
Created2012-12-06T23:39:10.000+0000
Updated2014-08-12T22:29:39.000+0000

Description

Comments

  1. Dustin Hyde 2012-12-08

    Currently, if the user has a non-default titanium sdk folder, and they run 'ti install sdk', the sdk will be installed to the default sdk folder (not the one in the configs). This is the behavior documented in the duplicate, TIMOB-12005. Possible solutions: 1. Install to sdk directory in the configs (ti config paths.sdks). => Preferred. 2. Allow user to pass in desired install directory (for sdk and modules). => Good complementary functionality. 3. Or, if all else fails, install to the default.
  2. Eric Merriman 2013-02-07

    This is an important issue for Windows as well, as the install directory for the CLI is fixed, but Studio allows a user setting for this location.
  3. Dustin Hyde 2013-02-15

    Worth noting the cli is not currently fully compatible with TISTUD on Windows because they use separate default TiSDK install paths: TISTUD: C:\Users\QEtester\AppData\Roaming\Titanium CLI: C:\ProgramData\Titanium
  4. Chris Barber 2013-02-15

    @Dustin, or perhaps Titanium Studio is not fully compatible with the CLI. :)
  5. Chris Barber 2013-07-26

    https://github.com/appcelerator/titanium/pull/50 https://github.com/appcelerator/node-appc/pull/50
  6. Chris Barber 2013-07-31

    To test, run "ti sdk" to list all Titanium SDK install locations. Next set a custom install location by running:
       ti config sdk.defaultInstallLocation ~/Desktop/sdks
       
    Run "ti sdk" to verify that this new install location is listed and is the default. Now download an SDK and it will save it to this install location:
       ti sdk install --branch master
       
    Run "ti sdk" to verify it downloaded the latest master build. To clean up, run:
       ti config -r sdk.defaultInstallLocation
       
       rm -rf ~/Desktop/sdks
       
       ti config paths.sdks
       
    You will to manually remove ~/Desktop/sdks from the "paths.sdks" config option.
  7. Olga Romero 2013-12-11

    Tested and verified the fix with: CLI 3.2.0-cr Mac osx 10.9 Mavericks Appcelerator Studio, build: 3.2.0.201312091648 Titanium SDK, build: 3.2.0.v20131210112451
  8. Olga Romero 2014-08-12

    reopened to fix labels

JSON Source