[arquillian-issues] [JBoss JIRA] (ARQ-921) Make environment variables available for property replacement in configuration

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun May 13 15:27:18 EDT 2012


     [ https://issues.jboss.org/browse/ARQ-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen updated ARQ-921:
--------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/arquillian/arquillian-core/pull/34

    
> Make environment variables available for property replacement in configuration
> ------------------------------------------------------------------------------
>
>                 Key: ARQ-921
>                 URL: https://issues.jboss.org/browse/ARQ-921
>             Project: Arquillian
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Configuration
>    Affects Versions: 1.0.0.Final
>            Reporter: Dan Allen
>
> Copy all the environment variables to the base property "env" in the system property table. Using the base property avoids conflicts with property names. This strategy is typical in build systems.
> For example, assume the following environment variable is defined:
> {code}
> JBOSS_HOME=/opt/jboss-as
> {code}
> This environment variable can be referenced from the configuration (arquillian.xml) as follows: 
> {code}
> ${env.JBOSS_HOME}
> {code}
> A system property may be used to override an environment variable, as follows:
> {code}
> -Denv.JBOSS_HOME=/home/user/opt/jboss-as
> {code}

--
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 arquillian-issues mailing list