Is it possible to define a custom ResourceLoader that resides in a different Assemly than nvelocity.dll?
I've tried the following in the nvelocity.properties file:
resource.loader = assembly assembly.resource.loader.description = NVelocity Assembly Resource Loader assembly.resource.loader.class = MyAssembly.NVelocity.AssemblyResourceLoader
Nevermind, I hadn't seen the Velocity.Evaluate()methods. I'll just go that route.
Thanks.
Log in to post a comment.
Is it possible to define a custom ResourceLoader that resides in a different Assemly than nvelocity.dll?
I've tried the following in the nvelocity.properties file:
resource.loader = assembly
assembly.resource.loader.description = NVelocity Assembly Resource Loader
assembly.resource.loader.class = MyAssembly.NVelocity.AssemblyResourceLoader
Nevermind, I hadn't seen the Velocity.Evaluate()methods. I'll just go that route.
Thanks.