{ "id": "119238", "key": "ALOY-810", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-01-20T22:41:56.000+0000", "created": "2013-08-29T09:43:34.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:28:25.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": [], "description": "h2. Steps to reproduce\r\n1) create an app in Appcelerator Studio\r\n2) move the app's directory into a different path (~/Downloads/)\r\n3) open the new path in console\r\n4) alloy compile --config platform=ios\r\n\r\nh2. Actual result\r\nCompilation fails with this error:\r\n\r\n~~~\r\n[ERROR] Alloy \"app\" directory does not exist at \"/Users/dcassenti/Downloads/app\"\r\n~~~\r\n\r\nRunning the same command when the app is in the workspace works; same happens if - instead of creating a new app - I do:\r\n\r\n1) download someone's app in ~/Downloads/\r\n2) open the app's main directory\r\n3) alloy compile --config platform=ios", "attachment": [], "flagged": false, "summary": "When moving app outside Studio workspace, alloy compile fails", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Alloy 1.2.1\r\nAppcelerator Studio 3.1.3\r\nTitanium CLI 3.1.2", "comment": { "comments": [ { "id": "268812", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "I checked the alloy source, actually the problem is different. It fails if you have a tiapp.xml in the parent folder (in my case, I had one ~/Downloads/tiapp.xml). Not sure if this might be considered an issue or not.", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-29T09:51:30.000+0000", "updated": "2013-08-29T09:51:30.000+0000" }, { "id": "288909", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Alloy's just doing its best to find what you are trying to compile. It sees a tiapp.xml and an app folder, so it thinks it found it. I think it's fair to expect developers to call the compile form the appropriate folder.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-20T22:41:56.000+0000", "updated": "2014-01-20T22:41:56.000+0000" }, { "id": "435332", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If this is incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T22:28:25.000+0000", "updated": "2018-03-07T22:28:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }