From: Alexis O'C. <ale...@co...> - 2005-05-13 08:38:16
|
Adam Marshall wrote: > Have we seen this? > > http://users.ox.ac.uk/~adamm/bodington/notes/templates.html > > -- I have now! There are a couple of points that are incorrect can be updated: The templates live in '../webapps/bodington/templates', not just '../webapps/bodington/templates/style_default'. I don't fully understand the section 'Old Style Template Compilation Using Ant'. Legacy templates are not touched by an XML parser at all. Also, certainly since September 2004, template compilation has been very lenient - badly formed XML, java that will not compile etc, get (partially) reported, but do not fail the build process (I'm talking about the class TemplateBuilder here). As part of the ongoing work I'm doing to improve template compilation I have re-introduced the notion of 'failonerror' to the ANT build process. Another point about the XML warnings that has been discussed on list is that the DTD needs to be updated. Matthew has some cunning ideas regarding converting tags of the following form to new style: <building command=YYYYY variable=XXXXX> ... so, I'll let him explain when he gets the chance(!) Alexis |