Project: appceleratorstudio
Issue TISTUD-6684: Windows: Alloy compiler does not show error details
h5. Problem description Appcelerator Studio doesn't display errors correctly when running an Alloy project on Windows. h5. Steps to reproduce 1. Create a new Alloy project 2. Use the following code for index.xml {code} {code} 3. Build/run Result: Build fails as expected but the errors are displayed incorrectly and there is no information regarding the file name or line number {code} [DEBUG] : Classname: Test2 [34m .__ .__ _____ | | | | ____ ___.__. \__ \ | | | | / _ < | | / __ \| |_| |_( <_> )___ | (____ /____/____/\____// ____| \/ \/[39m [90m[ERROR] [39m[31mError parsing XML file.[39m [ERROR] : Alloy compiler failed [ERROR] Application Installer abnormal process termination. Process exit value was 1 {code} 4. Build/run from CLI Result: Errors are displayed correctly: {code} [TRACE] Copying SRC_DIR\alloy\sync\sql.js --> Resources\android\alloy\sync\sql.js [TRACE] Copying SRC_DIR\alloy\sync\properties.js --> Resources\android\alloy\sync\properties.js [TRACE] Copying SRC_DIR\alloy\sync\localStorage.js --> Resources\android\alloy\sync\localStorage.js [TRACE] Copying SRC_DIR\alloy\controllers\BaseController.js --> Resources\android\alloy\controllers\BaseController.js [TRACE] Copying SRC_DIR\alloy\widget.js --> Resources\android\alloy\widget.js [TRACE] Copying SRC_DIR\alloy\underscore.js --> Resources\android\alloy\underscore.js [TRACE] Copying SRC_DIR\alloy\backbone.js --> Resources\android\alloy\backbone.js [TRACE] Copying SRC_DIR\alloy.js --> Resources\android\alloy.js [TRACE] [TRACE] SRC_DIR=C:\Users\tester\AppData\Roaming\npm\node_modules\alloy\Alloy\common [TRACE] Copying SRC_DIR\constants.js --> Resources\android\alloy\constants.js [TRACE] [TRACE] SRC_DIR=C:\Users\tester\Documents\Appcelerator_Studio_Workspace\test2\app\assets [TRACE] Copying SRC_DIR\android\appicon.png --> Resources\android\appicon.png [TRACE] Copying SRC_DIR\android\default.png --> Resources\android\default.png [TRACE] Copying SRC_DIR\android\MarketplaceArtwork.png --> Resources\android\MarketplaceArtwork.png [TRACE] Copying SRC_DIR\android\images\res-long-land-hdpi\default.png --> Resources\android\images\res-long-land-hdpi\default.png [TRACE] Copying SRC_DIR\android\images\res-long-land-ldpi\default.png --> Resources\android\images\res-long-land-ldpi\default.png [TRACE] Copying SRC_DIR\android\images\res-long-port-hdpi\default.png --> Resources\android\images\res-long-port-hdpi\default.png [TRACE] Copying SRC_DIR\android\images\res-long-port-ldpi\default.png --> Resources\android\images\res-long-port-ldpi\default.png [TRACE] Copying SRC_DIR\android\images\res-notlong-land-hdpi\default.png --> Resources\android\images\res-notlong-land-hdpi\default.png [TRACE] Copying SRC_DIR\android\images\res-notlong-land-ldpi\default.png --> Resources\android\images\res-notlong-land-ldpi\default.png [TRACE] Copying SRC_DIR\android\images\res-notlong-land-mdpi\default.png --> Resources\android\images\res-notlong-land-mdpi\default.png [TRACE] Copying SRC_DIR\android\images\res-notlong-port-hdpi\default.png --> Resources\android\images\res-notlong-port-hdpi\default.png [TRACE] Copying SRC_DIR\android\images\res-notlong-port-ldpi\default.png --> Resources\android\images\res-notlong-port-ldpi\default.png [TRACE] Copying SRC_DIR\android\images\res-notlong-port-mdpi\default.png --> Resources\android\images\res-notlong-port-mdpi\default.png [TRACE] [DEBUG] [INFO] ----- MVC GENERATION ----- [INFO] [global style] writing to cache... [INFO] [index.xml] view processing... [INFO] style: "index.tss" [INFO] view: "index.xml" [ERROR] Error parsing XML file. [ERROR] end tag name: View is not match the current start tagName:Window [ERROR] @#[line:4,col:25] [ERROR] Alloy compiler failed C:\Users\tester\Documents\Appcelerator_Studio_Workspace\test2> {code}
Story points: 5