From: Alistair Y. <ali...@sm...> - 2005-05-24 13:45:47
|
> Or even, i18n breaks template compilation well, hardly > However, your "contributions" are demonstrating very clearly why it is > desirable to valaidate the templates I know i18n is an unpopular subject and it's seen as superfluous by some people, especially trying to retrofit it to an ancient system like this - if it's too much for some to bear I can always just stop? > do you reckon the method XmlTemplate::compileI18NConfig(Element) will > work on Windows! of course not but there is time before 2.6 - I am getting there... Alistair On 24 May 2005, at 14:20, Alexis O'Connor wrote: > Alistair Young wrote: >> It seems that when you pre-compile the templates, it breaks i18n. > > Or even, i18n breaks template compilation. > >> There are two ways round this: >> 1) Don't pre-compile templates - bod can do it anyway >> 2) I change i18n to put resource files in the classpath so the full >> path isn't required. That means the resource files will be separate >> from the templates and we'll need a new WEB-INF/classes directory >> where one didn't exist before. >> anyone got any opinions? > > Er, point (1) is quite true. However, your "contributions" are > demonstrating very clearly why it is desirable to valaidate the > templates prior to deployment(!). In addition to validation up until > now we've had pre-compilation too - i.e. generate all the templates > and then you can even run Bodington on a JRE. Therefore, put the > resource files on the CLASSPATH, and as you say, probably under > 'WEB-INF/classes'. > > Whilst we're on the subject, a slightly rhetorical question, but do > you reckon the method XmlTemplate::compileI18NConfig(Element) will > work on Windows!?! > > > Alexis > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |