Hi Serge,

> resource.loader=file1,file2
> file1.resource.loader.class=org.apache.velocity.runtime.resource.loader.FileResourceLoader
> file1.resource.loader.path=foo
> file1.resource.loader.cache=true
> file2.resource.loader.class=org.apache.velocity.runtime.resource.loader.FileResourceLoader
> file2.resource.loader.path=bar
> file2.resource.loader.cache=true
## snip

> I guess you're saying that the file loader has this ability built-in,
> but I'm using a mixture of resource loaders and am using the multiple
> loader feature, so I need the resource manager to handle this.
Are you using any loader other than the FileResourceLoader?  If not, I
think you can do

resource.loader=file
file.resource.loader.class=org.apache.velocity.runtime.resource.loader.FileResourceLoader
file.resource.loader.path=foo,bar
file.resource.loader.cache=true


> Again, it seems like I need my own ResourceManager impl, but just
> wondering if anybody hit this before, had a better suggestion, or a
> planned work around.
Making a composite ResourceLoader might do it as well.  :)

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to