Claude Brisson said:
> Nathan wrote :
>
> > no need to subclass.  the VVS gives priority to your velocity.properties
by
> > loading them after setting the defaults.  so you can use any of the other
> > resource loaders (classpath, jar, file, url, whatever) without
subclassing.
> >
>
> Ok, my mistake.
> It's the same behaviour for the log system class, isn't it ?

yep.

> This means that if people don't comment the default FileResourceLoader
> in the initial velocity.properties, then the WebappLoader won't be used,
> or am I wrong ?

not sure what you mean by "initial velocity.properties", but i mean what i
said.  if there's no properties file or no resource loader specified in the
properties file, then the WebappLoader is used.  it is the default,
out-of-the-box behavior of the VVS.  otherwise, if (a) resource loader(s)
is/are specified in whatever properties file the user tells the VVS to use,
the VVS will use that/those resource loader(s).

> Shouldn't we provide a proper velocity.properties a the root of the tools
tarball ?

to fix what problem?  it ain't broke right now, so...

Nathan Bubna
[EMAIL PROTECTED]


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

Reply via email to