struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4698) Allow <constant/> value substitution in XML configuration
Date Wed, 30 Nov 2016 09:46:58 GMT

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

Hudson commented on WW-4698:
----------------------------

UNSTABLE: Integrated in Jenkins build Struts-JDK7-master #565 (See [https://builds.apache.org/job/Struts-JDK7-master/565/])
WW-4698 Fixes issue with injecting substitutor (lukaszlenart: rev 1bf7de8d3799386ad777080e9bf414c0ba3c5d56)
* (edit) core/src/main/java/com/opensymphony/xwork2/config/impl/DefaultConfiguration.java
* (edit) core/src/main/java/com/opensymphony/xwork2/config/providers/EnvsValueSubstitutor.java


> Allow <constant/> value substitution in XML configuration
> ---------------------------------------------------------
>
>                 Key: WW-4698
>                 URL: https://issues.apache.org/jira/browse/WW-4698
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: XML Configuration
>    Affects Versions: 2.5.5
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.5.6
>
>
> It'd super useful if it'll be possible to substitute ENV variables in struts.xml
> {code:xml}
> <constant name="struts.devMode" value="${ENV.STRUTS_DEV_MODE:false}"/>
> {code}



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

Mime
View raw message