velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <jvan...@periapt.com>
Subject Re: Loading multiple jars
Date Sat, 03 Mar 2001 05:36:38 GMT


On Fri, 2 Mar 2001, Dave Bryson wrote:

> Hey guys,
> 
> Looking at the ResourceManager from our earlier chat about loading multi jars...
> 
> I tried :
> 
> resource.loader.1.resource.path = jar:file:test.jar!/
> resource.loader.1.resource.path = jar:file:template.jar!/
> 
> That doesn't work.  it'll only see one.  
> 
> What I'd like to do is this:
> 
> resource.loader.1.resource.path = jar:file:test.jar!/,jar:file:template.jar!/
> 
> But this means i need to change the ResourceManager ( see line: 166 )
> to look for "resource.path" and use:
> 
> VelocityResources.getVector(property);  - instead of getString()
> 
> This should also be beneficial to loading multi paths in FileResourceLoader.
> Any objections to this? Or is there a better way that i'm missing?

I am just changing that code now, I was trying to
have it ready for you by the time you got it :-)

I'm in the chat room if you want to go over it.

jvz.



Mime
View raw message