{ "id": "159343", "key": "TIMOB-23157", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-05-10T02:31:46.000+0000", "created": "2016-04-06T06:57:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51243", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "159344", "key": "TIMOB-23158", "fields": { "summary": "Windows: Use of native module for UWP 10.0 fails", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51240", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "138521", "key": "TIMOB-17911", "fields": { "summary": "Windows: Implement Native module support", "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": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "51241", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159311", "key": "TIMOB-23148", "fields": { "summary": "Windows: Native module How-To documentation", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-28T11:16:44.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": "Building native module using {{appc ti build}} fails with uncaught exception. Building with {{ti build}} went through.\r\n\r\n{code}\r\n$ appc ti create -p windows -t module\r\n$ cd MY_MODULE/windows\r\n$ appc ti build -p windows --target ws-local\r\n-- WindowsModuleBuilder loginfo\r\nINFO] Visual Studio version: 14.0\r\nINFO] MSBuild version: 14.0.24720.0\r\nINFO] Project directory: TIMOB23148\\windows\r\n016-04-06T06:50:27.853Z | ERROR | An uncaught exception was thrown!\r\nNOENT, no such file or directory 'TIMOB23148\\windows\\tiapp.xml'\r\n016-04-06T06:50:27.869Z | ERROR | ENOENT, no such file or directory 'TIMOB23148\\windows\\t pp.xml'\r\n016-04-06T06:50:27.885Z | TRACE | Error: ENOENT, no such file or directory 'TIMOB23148\\wi\r\nows\\tiapp.xml'\r\n at Error (native)\r\n at Object.fs.openSync (fs.js:500:18)\r\n at Object.fs.readFileSync (fs.js:352:15)\r\n at precompileHook (.appcelerator\\install\\5.2.2\\package\\node_modules\\appc-cli-titanium\\hook\\titanium.j\r\n192:14)\r\n at cli.addHook.post (.appcelerator\\install\\5.2.2\\package\\node_modules\\appc-cli-titanium\\hook\\titanium\r\ns:88:4)\r\n at .appcelerator\\install\\5.2.2\\package\\node_modules\\titanium\\lib\\hook.js:235:13\r\n at .appcelerator\\install\\5.2.2\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:689:13\r\n at iterate (.appcelerator\\install\\5.2.2\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js\r\n65:13)\r\n at process._tickCallback (node.js:355:11)\r\n\r\n$ ti build -p windows\r\n...\r\n[INFO] Done\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Building native module using \"appc ti\" fails", "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": 627, "state": "closed", "name": "2016 Sprint 10 SDK", "startDate": "2016-05-07T00:43:56.954Z", "endDate": "2016-05-21T00:43:00.000Z", "completeDate": "2016-05-23T02:06:04.349Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "382132", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Per [~gmathews] \r\n\r\n{quote}\r\n{code}\r\nappc new -t timodule -n winModule --id com.win.module\r\ncd winModule\\windows\r\nappc run -p windows -T ws-local --wp-sdk 10.0 -l trace\r\n\r\nERROR | An uncaught exception was thrown!\r\nENOENT, no such file or directory 'C:\\Users\\gmathews\\projects\\winModule\\windows\\tiapp.xml'\r\n{code}\r\n\r\nIt should be looking for ``timodule.xml``, although I this is a separate issue related to the CLI.\r\n\r\n{quote}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T21:14:52.000+0000", "updated": "2016-04-07T21:14:52.000+0000" }, { "id": "384537", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I just tested this on {{5.4.0.v20160502140437}}, it seems to work? Although I did add {{--build-only}} since it is a module.\r\n\r\n{code}\r\nappc new -t timodule -n module --id com.win.module --no-services\r\ncd module\\windows\r\nappc ti build -p windows --build-only\r\n\r\n[INFO] Visual Studio version: 14.0\r\n[INFO] MSBuild version: 14.0.24720.0\r\n[INFO] Project directory: C:\\Users\\gmathews\\projects\\module\\windows\r\n[INFO] Skipping C:\\Users\\gmathews\\projects\\module\\windows\\WindowsStore.ARM\\ComWinModule.sln\r\n[INFO] Creating zip: com.win.module-windows-1.0.0.zip\r\n[INFO] Done.\r\n[INFO] Project built successfully in 19s 875ms\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-03T05:39:30.000+0000", "updated": "2016-05-03T05:39:30.000+0000" }, { "id": "385224", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Confirmed this does work for now. You can use {{appc ti build -p windows}} to build module for Windows.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-10T02:31:46.000+0000", "updated": "2016-05-10T02:31:46.000+0000" }, { "id": "389241", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Removing fixVersion and closing. ", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-06-28T11:16:35.000+0000", "updated": "2016-06-28T11:16:35.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }