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, 12 Oct 2016 09:54:20 GMT

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

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

SUCCESS: Integrated in Jenkins build Struts-JDK7-master #542 (See [https://builds.apache.org/job/Struts-JDK7-master/542/])
WW-4698 Implements System & ENV variables substitution (lukaszlenart: rev 8135abeca732b996f8e39eb27e59d79563dc4959)
* (add) core/src/test/java/com/opensymphony/xwork2/config/providers/EnvsValueSubstitutorTest.java
* (edit) core/src/test/java/com/opensymphony/xwork2/config/providers/ConfigurationTestBase.java
* (edit) core/src/main/resources/struts-default.xml
* (add) core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderEnvsSubstitutionTest.java
* (edit) core/src/main/java/com/opensymphony/xwork2/config/providers/XWorkConfigurationProvider.java
* (edit) core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java
* (add) core/src/main/java/com/opensymphony/xwork2/config/providers/ValueSubstitutor.java
* (add) core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-envs-substitution.xml
* (add) 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