velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Bryson <da...@miceda-data.com>
Subject Loading multiple jars
Date Sat, 03 Mar 2001 05:21:41 GMT
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?

-- 
Dave Bryson
daveb@miceda-data.com
----------------------


Mime
View raw message