From 7f10682cf646bcb3e761fbb6bcb2f645bd748c03 Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Thu, 14 Jun 2012 08:17:48 -0700 Subject: Add format handling to the template wizards This changeset adds a format attribute to the templates. When the ADT plugin reads a template file, and the format version is a higher number than one it knows about, it rejects the templates and informs the user to upgrade the plugin. This allows us to change the format of the templates incompatibly in the future without worrying about users with older versions of the plugin running into problems (because they upgraded the tools but not ADT). It also adds a revision number to each template which is used for the opposite purpose: we can tell if a template is a slightly older revision and then do some conditional handling. Change-Id: If6c49012a1beca44c3a05b3e880ffde70294a57e --- templates/other/CustomView/template.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/other/CustomView') diff --git a/templates/other/CustomView/template.xml b/templates/other/CustomView/template.xml index 9511566..9bd6d98 100644 --- a/templates/other/CustomView/template.xml +++ b/templates/other/CustomView/template.xml @@ -1,5 +1,7 @@ \ No newline at end of file + -- cgit v1.1