[jboss-jira] [JBoss JIRA] (WFLY-3408) { : } syntax is not explained

jaikiran pai (JIRA) issues at jboss.org
Fri May 30 08:13:16 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971936#comment-12971936 ] 

jaikiran pai commented on WFLY-3408:
------------------------------------

The syntax is as follows:
{code}
${SomeSystemPropertyName:defaultValue}
{code}

You then set the system property  SomeSystemPropertyName (typically) by passing it to the startup script:
{code}
./standalone.sh -DSomeSystemPropertyName=foo
{code} 

If it isn't set then the default value which follows the : will be used as the value for the element/attribute which uses that expression.



> { : } syntax is not explained
> -----------------------------
>
>                 Key: WFLY-3408
>                 URL: https://issues.jboss.org/browse/WFLY-3408
>             Project: WildFly
>          Issue Type: Documentation
>      Security Level: Public(Everyone can see) 
>          Components: Documentation
>         Environment: https://docs.jboss.org/author/display/WFLY8/Admin+Guide#AdminGuide-Interfacedeclarations
>            Reporter: Steve Fisher
>            Assignee: Tom Wells
>
> The { : } syntax which is used in the provided  standalone-full.xml - for example -
> <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
> does not appear to be explained. I guess I can set jboss.bind.address.management somewhere to change the default value.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list