freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <>
Subject [jira] [Commented] (FREEMARKER-54) FM3 freemareker-spring module, basic functionality
Date Mon, 19 Jun 2017 03:23:01 GMT


Woonsan Ko commented on FREEMARKER-54:

Thanks for the pointer! I've corrected the following:
- {{#setSettings(Map)}} was removed as {{#setSetting(Properties)}} is totally fine in spring
(ref: bean definition example in commented block in unit test).
- Corrected logging in {{SpringResourceTemplateLoader}}.
- Added {{VersionEditor}} for Spring because it's more convenient to set by string in XML
bean definitions. (See "FooEditor" example in \[1\] for reference.)

Since this PR includes {{VersionEditor}} in core, please take a review.




> FM3 freemareker-spring module, basic functionality
> --------------------------------------------------
>                 Key: FREEMARKER-54
>                 URL:
>             Project: Apache Freemarker
>          Issue Type: Task
>    Affects Versions: 3.0.0
>            Reporter: Daniel Dekany
> Create the Gradle module. Basic non-Web functionality. This certainly means:
> * Creating a FactoryBean by extending {{Configuration.ExtendableBuilder}} which has defaults
that are practical for Spring.
> * Creating a {{SpringResourceTemplateLoader}} which relies on Spring's {{Resource}} abstraction
> It's also an important goal to polish the {{freemarker-core}} configuration and template
loader API-s, and change them if that's needed for smoother Spring integration.

This message was sent by Atlassian JIRA

View raw message