GitHub user woonsan opened a pull request:

    https://github.com/apache/incubator-freemarker/pull/31

    FREEMARKER-55: spring.ftl marco lib support

    - Support <#import "/spring.ftl" as spring> like Spring Framework does.
    - By default, the system lib from /spring.ftl is read from the specific 
classpath, not from app's template path.
       The system template aliases map can be customized through 
SpringResourceTemplateLoader.systemTemplateAliases property.
    - The same macros and functions are defined in /spring.ftl as Spring 
Framework's, with syntax changes to comply with FM3.
    - Note: As the system template lib support is handled by 
SpringTemplateLoader in this PR, it means developers should always use 
SpringTemplateLoader directly or indirectly in order to use the system macro 
library. Please review this decision.
    - TODOs: review/test/refine each macro and functions in spring.ftl.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/woonsan/incubator-freemarker 
feature/FREEMARKER-55

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-freemarker/pull/31.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #31
    
----
commit 8e0f33c419d982279d7fb22a9dfdc66f47abaf2c
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-07-14T15:27:17Z

    FREEMARKER-55: Renaming Freemarker to FreeMarker

commit ec8d687d4ce2c0e1bb3e3ca073b139eacc198527
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-07-14T15:53:51Z

    Merge branch '3' into feature/FREEMARKER-55

commit e7cb6f7cfc241689c85527971bf6e1ea7ced9127
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-07-14T17:57:29Z

    Merge branch '3' into feature/FREEMARKER-55

commit c6eb09de91e57035c1e0e3c4d3490b3b96622bab
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-07-16T18:24:55Z

    Merge branch '3' into feature/FREEMARKER-55

commit 870209fa8e0acd0bb3186053dfd549b5c758e37d
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-07-18T00:38:03Z

    Merge branch '3' into feature/FREEMARKER-55

commit 4481406a2f4eeb30d6d044a4ac158efab7ba7a7b
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-08-06T01:28:54Z

    Merge branch '3' into feature/FREEMARKER-55

commit fcd9e672ec515e3042bc5efd229b7d12c23e7d88
Author: Woonsan Ko <woon...@apache.org>
Date:   2017-08-06T05:09:12Z

    FREEMARKER-55: system template lib for spring app: spring.ftl.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to