You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2020/04/19 14:57:00 UTC

[jira] [Resolved] (FREEMARKER-141) freemarker-cli: Expose user-supplied parameters in the data model

     [ https://issues.apache.org/jira/browse/FREEMARKER-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siegfried Goeschl resolved FREEMARKER-141.
------------------------------------------
    Resolution: Fixed

> freemarker-cli: Expose user-supplied parameters in the data model
> -----------------------------------------------------------------
>
>                 Key: FREEMARKER-141
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-141
>             Project: Apache Freemarker
>          Issue Type: Task
>            Reporter: Siegfried Goeschl
>            Assignee: Siegfried Goeschl
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently user-supplied parameters are passed as "-Pname=value" and are not directly accessible from the provide data model (only via SystemTool)
> We would like to implement the following improved way to handle user-supplied
> ```
> -P name=value => access via ${name}
> -P name:group=value access via ${group.name}
> ```
> Some thoughts along the line
> * It would be nice if user-supplied parameter selectively overwrite other entries in the data model, e.g. overwrite a value provided from a property or JSON file 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)