You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/08/30 07:58:00 UTC

[jira] [Commented] (DELTASPIKE-1283) Placeholders not supported for defaults

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146839#comment-16146839 ] 

Mark Struberg commented on DELTASPIKE-1283:
-------------------------------------------

Note that this ONLY works if the defaultValue is a String!

> Placeholders not supported for defaults
> ---------------------------------------
>
>                 Key: DELTASPIKE-1283
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1283
>             Project: DeltaSpike
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>            Assignee: Mark Struberg
>
> It would be neat and common to be able to use placeholders for default values as well. Typically:
> {code}
> @ConfigProperty(name = "....", defaultValue = "${user.home}/foo.txt")
> String path();
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)