{ "id": "148591", "key": "TIMOB-18989", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-10T17:34:15.000+0000", "created": "2015-06-08T21:57:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-07T23:22:17.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building a project if the project name contains a space then the build fails with the below\r\n\r\n{code}\r\n[WARN] CMake Error at CMakeLists.txt:99 (add_executable):\r\n The target name \"space app\" is reserved or not valid for certain CMake\r\n features, such as generator expressions, and may result in undefined\r\n behavior.\r\nCMake Error at CMakeLists.txt:105 (set_target_properties):\r\n set_target_properties Can not find target to add properties to: space app\r\n[WARN] CMake Error at CMakeLists.txt:107 (target_link_libraries):\r\n Cannot specify link libraries for target \"space app\" which is not built by\r\n this project.\r\n[INFO] -- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/Windo_000/AppData/Local/Temp/space app/wp.ARM/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/Windo_000/AppData/Local/Temp/space app/wp.ARM/CMakeFiles/CMakeError.log\".\r\nERROR | ti run exited with error code 1\r\n{code}\r\n\r\nWhen building a project with a similar name to iOS and Android the build works with no problems\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Create a project using {{ti create}} with a space in the name\r\n2. Build the project for Windows using {{ti build -p windows -T wp-device--build-only}}\r\n\r\nh5.Actual Result\r\n\r\nThe build fails with the above\r\n\r\nh5.Expected Result\r\n\r\nThe build should pass", "attachment": [], "flagged": false, "summary": "Windows: Unable to build a project if the project name contains a space", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nTitanium SDK: 4.1.0.v20150604094312 \r\nAppc CLI: 4.0.1", "closedSprints": [ { "id": 420, "state": "closed", "name": "2015 Sprint 12 Windows", "startDate": "2015-06-07T01:15:19.706Z", "endDate": "2015-06-21T01:15:00.000Z", "completeDate": "2015-06-20T23:02:18.410Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "357218", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nApp with space in the name builds fine.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio: 4.1.0.201507071122\r\nTi SDK: 4.1.0.v20150706111546\r\nTi CLI: 4.0.1\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.1.0-1\r\nAPPC CLI: 4.1.0-6 \r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\nWindows emulator : 8.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-07T23:22:11.000+0000", "updated": "2015-07-07T23:22:11.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }