[ALOY-1228] Selective compilation can fail with platform-specific controllers and throws Exception incorrectly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2015-01-30T23:50:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.7.0 |
Components | Runtime, Tooling |
Labels | n/a |
Reporter | Tim Poulsen |
Assignee | Tim Poulsen |
Created | 2015-01-15T14:33:54.000+0000 |
Updated | 2015-01-30T23:50:20.000+0000 |
Description
Per email from David Bankier, the compilation-optimization technique implemented in [PR625](https://github.com/appcelerator/alloy/pull/625) will fail in certain cases. He suggests the following changes be made to fix these issues:
* https://github.com/xavierlacot/alloy/pull/1
* https://github.com/xavierlacot/alloy/pull/2
Investigate and implement, add tests
PR: https://github.com/appcelerator/alloy/pull/657 All jake tests should pass. In addition, FR with these steps: 1. Compile the complex_styling test app:
jake app:run dir=advanced/complex_styling
2. Compile one file from it:alloy compile /PATH_TO_YOUR_ALLOY_REPO/test/projects/Harness --config platform=ios,file=app/controllers/index.js
Both steps should compile without errors.