GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-07-09T18:36:41.000+0000 |
Affected Version/s | Alloy 1.4.0, Alloy 1.3.1 |
Fix Version/s | Alloy 1.4.0 |
Components | Appcelerator Studio, Tooling |
Labels | qe-3.3.0 |
Reporter | Deepti Pandey |
Assignee | Tim Poulsen |
Created | 2014-07-07T11:38:00.000+0000 |
Updated | 2014-08-12T18:26:08.000+0000 |
Test Steps:
This is specific to windows.
1. Create an Alloy Project.
2. Launch it on emulator. Observe the console view.
Actual Result:
Distorted console view for alloy project launch on emulator is noticed.Please refer attached screenshot.
I assume this is because of some special characters Alloy is putting out?
Looks to me like the ANSI color code escape sequence. Maybe it's not properly observing a --no-colors flag? I believe we do send it down to the CLI.
I see the ANSI color code-like output (the issue) with these combinations: * Alloy 1.3.1, CLI 3.3.0-rc4, SDK 3.4.0 (githash: bdb3870) * Alloy 1.4.0-rc4, CLI 3.3.0-rc4, SDK 3.4.0 (githash: bdb3870) * Alloy 1.3.1, CLI 3.2.3, SDK 3.4.0 (githash: bdb3870) * Alloy 1.3.1, CLI 3.2.3, SDK 3.2.3.GA * Alloy 1.4.0-rc4, CLI 3.2.3, SDK 3.2.3.GA * Alloy 1.4.0-rc4, CLI 3.3.0-rc4, SDK 3.2.3.GA All tests on Windows 8.1, Node 0.10.29, Titanium Studio 3.2.3.201404181442
The --no-colors flag is not being passed to Alloy's compile command. Instead, the color=false argument is passed. I've updated the Alloy hooks file to account for this. https://github.com/appcelerator/alloy/pull/474 Follow the testing steps described above to test. In my testing, you can build for either MobileWeb or Android (without this fix, you'd see the color-codes included either way).
PR merged to master and 1_4_X branches
Can you try running this command to reinstall the hooks file?
alloy install plugin [path_to_project]