[ALOY-737] ALLOY: Integrate xml2tss

GitHub Issuen/a
TypeNew Feature
Resolution Date2013-07-10T20:35:14.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.2.0, 2013 Sprint 14
Labelsnotable, qe-testadded
ReporterDaniel Sefton
AssigneeTony Lukasavage


See https://github.com/appcelerator/alloy/pull/165 for the full discussion.


  1. Tony Lukasavage 2013-07-10 PR: https://github.com/appcelerator/alloy/pull/172 The automated unit tests jake test:all will confirm that existing behavior has not been negatively impacted. To pass functional testing, Follow these steps: 1. Create a new Alloy app 2. Create a new view manually, named for exmaple "foo.xml". Make sure this view contains multiple elements and use a few different *id* and *class* values. 3. run alloy generate style foo from the CLI 4. Inspect the resulting "app/styles/foo.tss" file and ensure that empty style entries have been created for all ids and classes from the view created in step #2. 5. Repeat steps 2-4 for a few more views. 6. If all looks good, delete all styles from "app/styles" 7. run alloy generate style --all from the CLI 8. Go to the "app/styles" folder and ensure that new styles have been created for all views, and that all those styles contain the appropriate empty style entries for each id and class contained in the corresponding views.
  2. Federico Casali 2013-08-03

JSON Source