{ "id": "161370", "key": "TIMOB-23557", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-30T23:13:38.000+0000", "created": "2016-06-27T06:58:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "52662", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "163066", "key": "TIMOB-23877", "fields": { "summary": "Windows: Add Windows element to timodule.xml template", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "55833", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169127", "key": "TIMOB-25031", "fields": { "summary": "Windows: Unable to build a module when using SDK 10.0.15063.0 and VS 2015", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52172", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "161571", "key": "TISTUD-8530", "fields": { "summary": "Windows tag support in timodule.xml", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-17T04:18:27.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Currently {{timodule.xml}} in Windows module project is not used at all. But in order to align with how it's used in other platforms, we may need to have a way to specify target Windows sdk version attribute in it.\r\n\r\nTo be specific, to align with other platform attributes, it would be {{}}.\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nWhen {{targetSdkVersion}} is specified, Windows module build should take the value as target Windows sdk version. Currently Windows 10 support is built by default whenever Windows 10 sdk is available, but you should be able to remove it by explicitly specifying {{8.1}} for it.\r\n\r\n*Steps*\r\n\r\n{code}\r\n> appc new -n test --id com.example.test\r\n> cd test/windows\r\n{code}\r\n\r\nThen update {{timodule.xml}} to explicitly specify {{8.1}}.\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThen build the module and make sure packaged zip doesn't contain {{win10}} folder in it.\r\n\r\n{code}\r\nappc ti build -p windows --build-only\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Windows: target win sdk attribute in timodule.xml", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 649, "state": "closed", "name": "2016 Sprint 13 SDK", "startDate": "2016-06-18T00:25:17.303Z", "endDate": "2016-07-02T00:25:00.000Z", "completeDate": "2016-07-04T04:25:16.889Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389679", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "TEST CASE\r\n\r\n{code}\r\nappc new -t timodule -n testModule --id com.test.module\r\ncd testModule\\windows\r\nappc ti build -p windows --build-only\r\n{code}\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n\r\n{code}", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-06-30T23:12:56.000+0000", "updated": "2016-06-30T23:12:56.000+0000" }, { "id": "394774", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kota] Was 10.0 not implemented? When trying to set 10.0 as the value I'm still seeing 8.1 being built", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-08-30T12:18:53.000+0000", "updated": "2016-08-30T12:18:53.000+0000" }, { "id": "394776", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Let me check again, but yes, as I remember it's how it's supposed to work. \r\n\r\nWhen you target to {{10.0}}, you should see {{phone}}(8.1), {{store}}(8.1), {{win10}} folder in module archive. It's because Windows 10 is able to launch Windows Store/Phone 8.1 app as kind of compatibility mode, and Titanium is able to launch Phone/Store 8.1 app on Windows 10 when you specify {{--wp-sdk 8.1}}. So even when you target to build for Windows 10, we should consider building for 8.1 too because it could be linked to the 8.1 project too (even when it is built only for Windows 10).", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-30T13:11:24.000+0000", "updated": "2016-08-30T13:11:24.000+0000" }, { "id": "395211", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Thanks for the clarification [~kota], closing ticket\r\n\r\nVerified using:\r\n\r\nOS: Windows 10 Pro\r\nAppc core: 6.0.0-37\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160901034311\r\n\r\nWhen specifying 8.1 for the win SDK attribute in the tiapp.xml only 8.1 libraries are built. When specifying 10.0 both the 10.0 and 8.1 libraries are built. If an invalid input is entered then the CLI will default to building both\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-02T17:03:22.000+0000", "updated": "2016-09-02T17:03:22.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }