{ "id": "117507", "key": "TIMOB-14636", "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": "15566", "description": "2013 Sprint 15 Tooling", "name": "2013 Sprint 15 Tooling", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-25T19:03:15.000+0000", "created": "2013-07-23T22:35:04.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-18T11:40: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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h5. Problem description\r\nWhen modifying an Alloy project, LiveView is triggering the 'alloy compile' command in order to recompile the Alloy code and then update the running app.\r\nHowever, the correct compile command should be always passed specifying the platform, for ex. alloy compile --config platform=ios\r\n\r\nFor this reason, with Alloy 1.2.0, the 'alloy compile' command is returning an error and in this case LiveView is not working at all. \r\n\r\n\r\nh5. Steps to reproduce\r\n1. Modify an Alloy project running LiveView\r\nResult: App is not updated.\r\nError log:\r\n{code}\r\n[LiveView] Alloy recompile initiated\r\n[LiveView] \u001b[34m .__ .__ \r\n_____ | | | | ____ ___.__.\r\n\\__ \\ | | | | / _ < | |\r\n / __ \\| |_| |_( <_> )___ |\r\n(____ /____/____/\\____// ____|\r\n \\/ \\/\u001b[39m\r\n\u001b[37mAlloy by Appcelerator. The MVC app framework for Titanium.\r\n\u001b[39m\r\n\u001b[90m[DEBUG] \u001b[39m\u001b[36m----- CONFIGURATION -----\u001b[39m\r\n\u001b[90m[DEBUG] \u001b[39m\u001b[36mdeploytype = development\u001b[39m\r\n\u001b[90m[DEBUG] \u001b[39m\u001b[36mproject path = /Users/fcasali/Documents/Appcelerator_Studio_Workspace_4/alloyDefaultProject\u001b[39m\r\n\u001b[90m[DEBUG] \u001b[39m\u001b[36mapp path = /Users/fcasali/Documents/Appcelerator_Studio_Workspace_4/alloyDefaultProject/app\u001b[39m\r\n\u001b[90m[DEBUG] \u001b[39m\u001b[36m\u001b[39m\r\n\u001b[90m[ERROR] \u001b[39m\u001b[31mYou must define a target platform for the alloy compile command\u001b[39m\r\n{code}", "attachment": [], "flagged": false, "summary": "LiveView: 'alloy compile' command is used to recompile the Alloy code without specifying the platform", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.1.2.v20130718094558\r\nAlloy 1.2.0\r\nAppcelerator Studio 3.1.1.201306131423\r\nLiveView 0.1.28", "comment": { "comments": [ { "id": "263184", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "resolved in [master] https://github.com/appcelerator/liveview/commit/279acdef30f3da3d43f38de078df0d8c9960d2ec", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T19:02:26.000+0000", "updated": "2013-07-25T19:02:26.000+0000" }, { "id": "285010", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312171913\r\nSDK:3.2.0.v20131217190633\r\nalloy: 1.3.0-cr2\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nXcode:5.0.2\r\nOS: Mac OSX 10.9\r\nDevice: HTC Desire(v4.0.3) and Iphone5C(v7.0.4)\r\nliveView:1.0.1\r\n\r\n\r\nTested with both classic and alloy app. \r\nLiveView works fine and app gets relaunched with changes itself.\r\nHence Closing the issue", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T11:40:24.000+0000", "updated": "2013-12-18T11:40:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }