[jboss-jira] [JBoss JIRA] (AS7-2169) Add support for using System.getenv() for DMR ExpressionValues.

David Lloyd (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 23:40:45 EDT 2011


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

David Lloyd commented on AS7-2169:
----------------------------------

Dunno, this gives me a bad feeling - might be better to look for expressions which start with "env." and resolve those as environment vars?
                
> Add support for using System.getenv() for DMR ExpressionValues.
> ---------------------------------------------------------------
>
>                 Key: AS7-2169
>                 URL: https://issues.jboss.org/browse/AS7-2169
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Domain Management
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Scott Stark
>            Assignee: Scott Stark
>             Fix For: 7.1.0.Beta1
>
>
> Currently the org.jboss.dmr.ExpressionValue only looks to System.getProperty(name) to obtain a reference value. We should try to also query System.getenv(name) if the system property is not found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list