[jboss-jira] [JBoss JIRA] Commented: (JGRP-875) XMP parsing: variable substitution should be the same as in JBoss

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Thu Dec 11 03:25:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JGRP-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442066#action_12442066 ] 

Vladimir Blagojevic commented on JGRP-875:
------------------------------------------

See Util#replaceProperties method I stole from JBoss codebase. I think they used this method for variable substitution. 

> XMP parsing: variable substitution should be the same as in JBoss
> -----------------------------------------------------------------
>
>                 Key: JGRP-875
>                 URL: https://jira.jboss.org/jira/browse/JGRP-875
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.7
>
>
> In JBoss' XML, we can say
> value="${var1,var2,var3:8900}", which means that the value is that of system property var1 if set, else that of var2 if set, else that of var3 if set, or else 8900.
> JGroups doesn't support a list of variables, it supports only one variable. Change this to make it parse the format supported by JBoss, too.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list