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] [Commented] (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:comment-tabpanel&focusedCommentId=17087043#comment-17087043 ]
Siegfried Goeschl commented on FREEMARKER-141:
----------------------------------------------
Did not manage the selective overwrite - not sure if this is useful
> 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: 10m
> 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)