velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frans Thamura" <>
Subject Re: Mixing Jar and ClassResourceLoader
Date Sun, 09 Mar 2008 12:53:11 GMT
hi claude,

i do several experiment, and try to use jar:file:/WEB-INF/lib/cimande-

where the cimande-1.3.jar is my java bytecode + template

take a look my velocity.propierties below

i dont get how to use jar :)

i fixed my properties to Classpath for class, and still not working

i will try to see the source code, i feel this like a bugs, or a missing
documentation, so i cannot implement it here

class.resource.loader.description = Velocity Classpath Resource Loader
class.resource.loader.class =
class.resource.loader.cache = false

# # and finally, for the loader we call 'jar', use the JarResourceLoader #
and specify two jars to load from #
jar.resource.loader.description = Velocity Jar Resource Loader
jar.resource.loader.class =
jar.resource.loader.path = jar:file:/WEB-INF/lib/cimande-1.3.jar

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message