[ALOY-90] Change view extensions to 'txml', styles to 'tss', abstract out others
|Affected Version/s||2012 Sprint 14|
|Fix Version/s||2012 Sprint 14|
DescriptionIn order to leverage some of Titanium Studio's features, and OS features, we are going to rename the views extensions to
txmland the style extensions to
tss. These first need to be abstracted out into constants and then changed in the appropriate places in code. While the models and configs will continue to use the
jsonextension, they will also be abstracted out to constants in case they change in the future.
- Russell McMahon 2012-07-16 We should only apply custom extension that have Alloy specific processing so our style files will require a special extension but we should leave our view files as xml. After speaking with the Ti Studio team they can still apply custom icons, wizards and content assist to files based on Ti Studio knowing it's an Alloy project. Later based on developer feedback we can decide if the alternative approach of xml, models, configs have custom icons make sense.
- Tony Lukasavage 2012-07-16 yep, we only need a new extension where we have changed the functionality of the underlying format, as is the case with our styles, where we use a JSON derivative.
- Tony Lukasavage 2012-07-16 "tss" is now the file extension used for styles instead of "json". Most other file types (views, controllers, etc...) have all had their file extensions abstracted out as well in case we need to change them in the future. All sample apps have been modified and test to reflect the new changes.
- Tony Lukasavage 2012-07-17 reopened so that we can wait for the linked TiStudio ticket to be addressed