From: Alexis O'C. <ale...@co...> - 2005-07-15 11:26:24
|
Alistair Young wrote: >>If not then we >>are changing Bodington so that it is no longer possible to deploy on a >>machine without a JDK. > > yep. that's bod though. What other web application *compiles* it's own > pages? Don't you need a JDK anyway? What happens when XmlTemplate decides > the class file is out of date and tries to recompile the template? > > By allowing the absence of the JDK you're telling users "you may never > customise your templates". > > Alistair > > Funnily enough I agree with Alistair on this one ;-). Requiring a JDK is reasonable enough for these very reasons. It would be cool if we could get the Eclipse JDT compiler of Tomcat 5.5 to compile Bodington templates. It was the way my thinking was going with the CompilerFacade to cater for this (and jikes) but I backed out (until such time) such wrappers for these compilers were fully implemented. (In the short-term, just wrapping javac with a facade seemed like obfuscatory overkill!). Alexis |