aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1601) Support for nested property placeholders
Date Wed, 24 Aug 2016 16:40:22 GMT

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

ASF GitHub Bot commented on ARIES-1601:
---------------------------------------

GitHub user lburgazzoli opened a pull request:

    https://github.com/apache/aries/pull/53

    ARIES-1601: Support for nested property placeholders

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lburgazzoli/apache-aries ARIES-1601

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/aries/pull/53.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #53
    
----
commit 29da5bc0872ef6406f734f7d265d120aa3d83568
Author: lburgazzoli <lburgazzoli@gmail.com>
Date:   2016-08-24T16:36:45Z

    ARIES-1601: Support for nested property placeholders

----


> Support for nested property placeholders
> ----------------------------------------
>
>                 Key: ARIES-1601
>                 URL: https://issues.apache.org/jira/browse/ARIES-1601
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>            Reporter: Luca Burgazzoli
>
> As today property placeholders are resolved sequentially but it would be nice to have
the possibility to resolve nested placeholders like:
> {code}
> ${jre-${java.specification.version}}
> {code}
> The problem in blueprint seems to be located in [AbstractPropertyPlaceholder|https://github.com/apache/aries/blob/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/ext/AbstractPropertyPlaceholder.java#L429-L455]
> I've been using StrSubstitutor from Commons-Lang and could be ported to blueprint-ext.
> See:
> - https://issues.apache.org/jira/browse/LANG-482 
> - https://commons.apache.org/proper/commons-lang/javadocs/api-3.4/org/apache/commons/lang3/text/StrSubstitutor.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message