Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19045] Windows: Add -t windows to ti info command

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-12-12T01:00:12.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.1.2
ComponentsCLI, Windows
Labelsmerge-5.1.2, qe-4.1.0
ReporterEwan Harris
AssigneeEwan Harris
Created2015-06-18T23:49:54.000+0000
Updated2016-01-06T22:08:57.000+0000

Description

Description

When running ti info you can specify what you want info for by using the -t flag, for example ti info -t android, ti info -t jdk etc. A Windows flag should be added similar to the other flags, at the moment there is Windows specific information that is in the regular ti info output, see below
"windows": {
        "detectVersion": "3.0",
        "issues": [
            {
                "id": "WINDOWS_STORE_SDK_MISSING_DEPLOY_CMD",
                "type": "error",
                "message": "Microsoft Windows Store SDK is missing the deploy command.\nYou will be unable to build Windows Store apps."
            }
        ],
        "assemblies": {
            "Microsoft.SmartDevice.Connectivity.Interface": {
                "12.0.0.0": {
                    "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.SmartDevice.Connectivity.Interface\\v4.0_12.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.Connectivity.Interface.dll",
                    "dotNetVersion": "4.0",
                    "assemblyVersion": "12.0.0.0",
                    "publicKeyToken": "b03f5f7f11d50a3a"
                }
            },
            "Microsoft.SmartDevice.MultiTargeting.Connectivity": {
                "12.0.0.0": {
                    "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.SmartDevice.MultiTargeting.Connectivity\\v4.0_12.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.MultiTargeting.Connectivity.dll",
                    "dotNetVersion": "4.0",
                    "assemblyVersion": "12.0.0.0",
                    "publicKeyToken": "b03f5f7f11d50a3a"
                }
            }
        },
        "windows": {
            "8.0": {
                "version": "8.0",
                "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft SDKs\\Windows\\v8.0",
                "supported": true,
                "path": "C:\\Program Files (x86)\\Windows Kits\\8.0\\",
                "signTool": {
                    "x86": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x86\\SignTool.exe",
                    "x64": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x64\\SignTool.exe"
                },
                "makeCert": {
                    "x86": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x86\\MakeCert.exe",
                    "x64": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x64\\MakeCert.exe"
                },
                "pvk2pfx": null,
                "selected": false
            },
            "8.1": {
                "version": "8.1",
                "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft SDKs\\Windows\\v8.1",
                "supported": true,
                "path": "C:\\Program Files (x86)\\Windows Kits\\8.1\\",
                "signTool": {
                    "arm": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\arm\\SignTool.exe",
                    "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\SignTool.exe",
                    "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\SignTool.exe"
                },
                "makeCert": {
                    "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\MakeCert.exe",
                    "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\MakeCert.exe"
                },
                "pvk2pfx": {
                    "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\pvk2pfx.exe",
                    "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\pvk2pfx.exe"
                },
                "selected": false
            }
        },
        "windowsphone": {
            "8.0": {
                "version": "8.0",
                "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Microsoft\\Microsoft SDKs\\WindowsPhone\\v8.0",
                "supported": true,
                "path": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.0\\",
                "deployCmd": null,
                "xapSignTool": null,
                "selected": false
            },
            "8.1": {
                "version": "8.1",
                "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Microsoft\\Microsoft SDKs\\WindowsPhone\\v8.1",
                "supported": true,
                "path": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\",
                "deployCmd": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\Tools\\AppDeploy\\AppDeployCmd.exe",
                "xapSignTool": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\Tools\\XapSignTool\\XapSignTool.exe",
                "selected": true
            }
        },
        "emulators": {
            "8.0": [],
            "8.1": [
                {
                    "name": "Emulator 8.1 WVGA 4 inch 512MB",
                    "udid": "8-1-1",
                    "index": 1,
                    "wpsdk": "8.1"
                },
                {
                    "name": "Emulator 8.1 WVGA 4 inch",
                    "udid": "8-1-2",
                    "index": 2,
                    "wpsdk": "8.1"
                },
                {
                    "name": "Emulator 8.1 WXGA 4.5 inch",
                    "udid": "8-1-3",
                    "index": 3,
                    "wpsdk": "8.1"
                },
                {
                    "name": "Emulator 8.1 720P 4.7 inch",
                    "udid": "8-1-4",
                    "index": 4,
                    "wpsdk": "8.1"
                },
                {
                    "name": "Emulator 8.1 1080P 5.5 inch",
                    "udid": "8-1-5",
                    "index": 5,
                    "wpsdk": "8.1"
                },
                {
                    "name": "Emulator 8.1 1080P 6 inch",
                    "udid": "8-1-6",
                    "index": 6,
                    "wpsdk": "8.1"
                }
            ]
        },
        "devices": [
            {
                "name": "Device",
                "udid": 0,
                "index": 0,
                "wpsdk": null
            }
        ],
        "os": {
            "name": "Microsoft Windows 8.1 Enterprise N",
            "version": "6.3.9600"
        },
        "powershell": {
            "enabled": true
        },
        "selectedVisualStudio": {
            "version": "12.0",
            "registryKey": "HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0_Config",
            "supported": true,
            "vcvarsall": "C:\\PROGRA~2\\MICROS~1.0\\VC\\VCVARS~1.BAT",
            "msbuildVersion": "12.0.31101.0",
            "wpsdk": null,
            "selected": true,
            "path": "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\",
            "clrVersion": "v4.0.30319"
        },
        "visualstudio": {
            "12.0": {
                "version": "12.0",
                "registryKey": "HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0_Config",
                "supported": true,
                "vcvarsall": "C:\\PROGRA~2\\MICROS~1.0\\VC\\VCVARS~1.BAT",
                "msbuildVersion": "12.0.31101.0",
                "wpsdk": null,
                "selected": true,
                "path": "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\",
                "clrVersion": "v4.0.30319"
            }
        }
    }

Steps To Reproduce

1. Run ti info -t windows

Actual Result

The output is not specific to Windows

Expected Result

The output should be specific to Windows

Comments

  1. Gary Mathews 2015-11-07

    titanium_mobile_windows: https://github.com/appcelerator/titanium_mobile_windows/pull/469 titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/7409
  2. Eric Wieber 2015-11-23

    [~gmathews] Can this be backported to 5_1_X or have the fixVersion corrected?
  3. Ewan Harris 2015-12-11

    Reopening ticket: Windows 10 Pro Appc CLI Core: 5.1.0 Appc CLI NPM: 4.2.2 Ti SDK: 5.1.2.v20151208161231 When using the above the output from Windows specific output appc ti info -o json does not match the Windows specific output of appc ti info -o json using 5.1.1.GA. See https://www.diffchecker.com/1t2on2o2 the JSON output is nested inside an additional "windows" key which can't be parsed by Studio
  4. Ewan Harris 2015-12-11

    master: https://github.com/appcelerator/titanium_mobile_windows/pull/500 5_1_X: https://github.com/appcelerator/titanium_mobile_windows/pull/501
  5. Ewan Harris 2016-01-06

    Verified using: Windows 10 Pro Appc CLI Core: 5.1.0 Appc CLI NPM: 4.2.2 Ti SDK: 5.1.2.v20151216190036 When running appc ti info -t windows or appc ti info -t windows -o json the output is now Windows specific and the output matches the output from 5.1.1.GA SDK, with the exception of 8.0 SDK not being present in 5.1.2.v20151216190036 TIMOB-19076. The JSON output is also now parsable by Studio Closing ticket

JSON Source