[
https://issues.jboss.org/browse/AS7-2169?page=com.atlassian.jira.plugin.s...
]
Max Rydahl Andersen commented on AS7-2169:
------------------------------------------
I agree about the bad feeling but what will be the semantics for looking up ${env.xyz} if
there is a system property named "env.xyz" ?
If that works then i'm good since then I can use explicit system properties from
command line/java launch to mimick the setup in a for sure OS portable fashion where as
having to mess with setting environment variables for a launch in IDE's and maven
launches is going to be messy.
(I know I can use ProcessBuilder() since Java 5 to do this but not all IDE's/tools use
that nor expose seting system environment variables for the specific launch)
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