Peter,

I would recommend putting up a note on the wiki, we need a 2.3 to 2.4
migration doc anyway.  Also, can you send me a nice small unit test that
validates you get the multiple values and I'll dig into it?

Eric

> -----Original Message-----
> From: Peter Courcoux [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 2:46 PM
> To: Turbine Users ListTurbineUsersList
> Subject: Migrating an app from 2.3 to 2.4
>
>
> 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]


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

Reply via email to