[ 
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)

Reply via email to