{ "id": "151893", "key": "TIMOB-19698", "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": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-03T14:19:20.000+0000", "created": "2015-10-09T11:48:31.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-04T18:30:52.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": "On Mac OS X, when the CLI runs into a JS parse error it will exit. On Windows it does not and you have to manually kill the process.\r\n\r\n*Sample*\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow(backgroundColor:'#FFF'});\r\nwin.open();\r\n{code}", "attachment": [ { "id": "56960", "filename": "Screen Shot 2015-10-09 at 13.43.07.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-09T11:48:28.000+0000", "size": 18105, "mimeType": "image/png" }, { "id": "56959", "filename": "Screen Shot 2015-10-09 at 13.43.13.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-09T11:48:29.000+0000", "size": 35774, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: CLI doesn't exit like on Mac when running into a parse error", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 5.0.2.GA\r\nCLI 5.0.2\r\nWindows 8.1\r\nMac OS X El Capitan", "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "368226", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I'm using Windows PowerShell but this does not happen to me. [~fokkezb] Did you use PowerShell?\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-29T02:18:05.000+0000", "updated": "2015-10-29T02:18:05.000+0000" }, { "id": "368293", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I just tested it again and still have it. Windows 8.1 Enterprise using PowerShell and:\r\n\r\n{code}\r\nti build -p windows -C 8-1-1 -I 00000000-0000-1000-8000-000000000000\r\n{code}", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-29T12:29:54.000+0000", "updated": "2015-10-29T12:30:38.000+0000" }, { "id": "368303", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Got it. Looks like it's because it stopped while launching emulator. working on it.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-29T14:42:35.000+0000", "updated": "2015-10-29T14:42:35.000+0000" }, { "id": "368425", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/460", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-30T08:29:38.000+0000", "updated": "2015-10-30T08:29:38.000+0000" }, { "id": "368997", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 10 Pro \r\nAppc Core: 5.1.0-42 \r\nAppc NPM: 4.2.1 \r\nTi SDK: 5.1.0.v20151104073721\r\n\r\nWhen running into a parse error the CLI now exits\r\n\r\n{code}\r\n[ERROR] Failed to parse C:\\Users\\ewanh\\Documents\\Appcelerator_Studio_Workspace\\classicApp\\Resources\\app.js\r\nUnexpected character '#' [line 2, column 31]\r\n\r\n Titanium.UI.setBackgroundColor(#000');\r\n -------------------------------^\r\n\r\n\r\n[ERROR] An error occurred during build after 3s 209ms\r\n[ERROR] Failed to parse JavaScript files.\r\nERROR | ti run exited with error code 1\r\n{code}\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-11-04T18:30:48.000+0000", "updated": "2015-11-04T18:30:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }