Hi all,

While migrating an app from 2.3 to 2.4 I came across the following issue
that took me a while to spot. This is just a note in the hope that it
saves someone else from some hassle.

In TR.props for 2.3 the following was valid :-

services.VelocityService.velocimacro.library = GlobalMacros.vm
services.VelocityService.velocimacro.library = DateTimeMacros.vm
services.VelocityService.velocimacro.library = macros/TurbineMacros.vm

Note that the key is the same for each of the 3 lines.

In 2.4 this is not allowed ( due, I guess to the use of
commons-configuration ) and results in the Velocity service not being
initialized and in my case a highly illuminating 'Page not found  :
Default' error :-(

I have not yet worked out how to get multiple libraries for velocity
macros, but assume that multi-valued properties are documented in
commons-configuration somewhere!

If you know the answer, please post it to the list. Many thanks.

Regards,

Peter





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

Reply via email to