{ "id": "149252", "key": "TIMOB-19106", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2015-11-09T04:38:49.000+0000", "created": "2015-06-29T21:51:42.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:37:24.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building for Windows if there are mismatched SDKs, the tiapp.xml is set to a different SDK than the selected SDK in the CLI, then the build target is not respected and the build will always be to wp-emulator\r\n\r\n{code}\r\nC:\\Users\\Windo_000\\Documents\\Appcelerator_Studio_Workspace\\pkgTest>appc run -p windows -T wp-device\r\nAppcelerator Command-Line Interface, version 4.1.0-4\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\n[INFO] tiapp.xml set to 4.1.0.v20150629125430, but current Titanium SDK set to 4.0.0.GA\r\n[INFO] Forking correct SDK command: \"C:\\Program Files (x86)\\nodejs\\node.exe\" \"C:\\Users\\Windo_000\\.appcelerator\\install\\4.1.0-4\\package\\node_modules\\a\r\nppc-cli-titanium\\node_modules\\titanium\\bin\\titanium\" \"build\" \"--sdk\" \"4.1.0.v20150629125430\" \"--no-banner\" \"--config-file\" \"C:\\Users\\WINDO_~1\\AppData\\\r\nLocal\\Temp\\build-1435614283393.json\" \"--platform\" \"windows\" \"--project-dir\" \".\" \"--log-level\" \"info\"\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Set your selected SDK to a different SDK than in the tiapp using {{appc ti sdk select 4.0.0.GA}}\r\n2. Build using {{appc run -p windows -T wp-device}}\r\n\r\nh5.Actual result\r\n\r\nA new build command will be forked and the build will take place for emulator\r\n\r\nh5.Expected result\r\n\r\nThe build target specified should be carried through", "attachment": [], "flagged": false, "summary": "Windows: Build target is not respected when forking a new build command due to mismatched SDKs", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150629125430", "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "356547", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I'm not sure this is actually a windows CLI issue so much as a general CLI issue where it's not retaining all the arguments when \"forking\" to the right SDK.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-01T13:37:46.000+0000", "updated": "2015-07-01T13:37:46.000+0000" }, { "id": "356587", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cwilliams] I've looked into this further and have found that it only occurs when 4.0.0.GA is selected as the SDK, if I select a 4.1.0 SDK I can't reproduce. I'm happy to close this as invalid/wont fix as Windows wasn't supported in 4.0.0.GA so I'm not sure what the behavior should be there.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-01T18:30:56.000+0000", "updated": "2015-07-01T18:30:56.000+0000" }, { "id": "356595", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "May be, we should show a nice message if SDK doesn't support Windows platform.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-01T18:53:34.000+0000", "updated": "2015-07-01T18:53:39.000+0000" }, { "id": "369368", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing, as Windows platform is not supported in the 4.0.0.GA.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-09T04:38:49.000+0000", "updated": "2015-11-09T04:38:59.000+0000" }, { "id": "415471", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Won't Fix with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:37:24.000+0000", "updated": "2017-03-23T22:37:24.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }