[ALOY-140] Widgets should be auto-added to projects like builtins
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-08-23T13:03:39.000+0000 |
Affected Version/s | 2012 Sprint 17 |
Fix Version/s | 2012 Sprint 17, Release 3.0.0 |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Russell McMahon |
Created | 2012-07-27T13:25:04.000+0000 |
Updated | 2014-06-18T22:49:37.000+0000 |
Description
Builtins are automatically added to Alloy projects by inspecting all require() calls at compile time, looking for paths that match an existing builtin, then copying the matched builtin to the project. We should do the same thing for widgets so they do not need to be manually copied.
We should look for both require() calls with the widget path
alloy/widgets/WIDGET_ID
, as well as looking for calls to Alloy.getWidget()
No comments