Re: Freemarker update

Posted by Jacques Le Roux on
URL: http://ofbiz.116.s1.nabble.com/Freemarker-update-tp3514516p3514682.html

Hans,

BTW inr986577 you said <<We are in discussion with the freemarker developers to solve this problem there.>>. Could you be more
specific and explain a bit the issues you crossed, only those in http://markmail.org/message/ppie7riv2i3cwlku ?
Also it seems there have been several bug fixes between 15 and 17RC1, I think it's worth trying this new version, could you give it
a try?

I'd like to have Scott's opininon also because he wrote the directive https://fisheye6.atlassian.com/changelog/ofbiz?cs=956484

Thanks

Jacques


From: "Jacques Le Roux" <[hidden email]>

> Sorry I completly forgot about it but had a doubt in mind, that's why I send a message before doing anything
> In http://markmail.org/message/uswj4i54iczwothh you suggested some possible progresses I guess related to
> http://svn.apache.org/viewvc?view=revision&revision=986577
>
> I'd not prefer to stay forever stuck with 2.3.10 when everybody is going ahead. Someone I know which needs to works on an OFBIz
> based CMS is investigating. Maybe we could share the efforts?
>
> Jacques
>
> From: "Hans Bakker" <[hidden email]>
>> remember that the new version was slowing down the ecommerce
>> significantly....
>>
>> On Wed, 2011-05-11 at 14:15 +0200, Jacques Le Roux wrote:
>>> Hi,
>>>
>>> It's a while we did not update Freemarker. We use version 2.3.10 (2007-04-20), soon (16th of May) 2.3.17 will be released with
>>> some
>>> interesting features and numerous bug fixes.
>>>
>>> http://freemarker.org/docs-rc/versions_2_3_11.html
>>> (?c) only used in geolocation.ftl, I don't expect much problems there
>>> Interesting:  A new model interface, TemplateDirectiveModel provides an easier paradigm for implementing user-defined directives
>>> than TemplateTransformModel did previously. TemplateTransformModel will be deprecated. So should still work, cases could be
>>> updated,
>>> and easier way to do it now
>>>
>>> http://freemarker.org/docs-rc/versions_2_3_12.html
>>> In the templates, now you can conveniently call Java methods that use the Java 5 varargs feature (variable-length argument
>>> lists).
>>>
>>> http://freemarker.org/docs-rc/versions_2_3_13.html
>>> New built-ins for rounding numbers: round, floor, ceiling.
>>> Reworked template caching mechanism for radically improved concurrent performance (Achieved 20x speedup)
>>>
>>> http://freemarker.org/docs-rc/versions_2_3_14.html
>>> New built-in: xhtml
>>>
>>> http://freemarker.org/docs-rc/versions_2_3_17rc1.html
>>> ?seq_index_of and ?seq_last_index_of now works on collections
>>> ?long now works for date, date-time and time values, and returns the milliseconds since the epoch (as java.util.Date.getTime()).
>>> New special variable, now. This returns the current date-time.
>>> ?sort and ?sort_by now supports sorting boolean values.
>>> FreeMarker now can log its messages directly using SLF4J or Apache Commons Logging.
>>>
>>> So I'd like to update soon using 2.3.17. Someone is currently testing the RC1 in a custome application  (based on OFBiz of
>>> course)
>>>
>>> Jacques
>>>
>>>
>>
>> --
>> Ofbiz on twitter: http://twitter.com/apache_ofbiz
>> Myself on twitter: http://twitter.com/hansbak
>> Antwebsystems.com: Quality services for competitive rates.
>>
>