Jason van Zyl wrote:
>
> On Fri, 2 Mar 2001, Dave Bryson wrote:
>
>
> > 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 guess I don't understand why this wouldn't simply be left to the
loader implementation, since I assume that loaders can have different
property sets anyway.
If a loader can support multiple 'nodes' (jars, files, datasources,
hamsters...), then it deals with that itself in its own init().
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/