Geir,
I remind about one more patch, the path property of JarResourceLoader, which
would be nice to have in 1.1.
In documentation:
JarResourceLoader : This loader gets resource from specific jar files. It is
very similar to the FileResourceLoader, except that you have the convenience of
bundling your templates into jars. The properties are identical, except for
jar.resource.loader.path, where you provide the full location of the jar(s) you
wish to load resources from.
In code:
public class JarResourceLoader extends ResourceLoader
{
/**
* Called by Velocity to initialize the loader
*/
public void init( ExtendedProperties configuration)
{
Vector paths = configuration.getVector("resource.path");
Which means that the actual path property for the JarResourceLoader is
currently:
jar.resource.loader.resource.path
instead of the documented one and the one used in FileResourceLoader.
-- Ilkka