Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-921

Make environment variables available for property replacement in configuration

    XMLWordPrintable

    Details

      Description

      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:

      JBOSS_HOME=/opt/jboss-as
      

      This environment variable can be referenced from the configuration (arquillian.xml) as follows:

      ${env.JBOSS_HOME}
      

      A system property may be used to override an environment variable, as follows:

      -Denv.JBOSS_HOME=/home/user/opt/jboss-as
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dan.j.allen Dan Allen (Inactive)
              Reporter:
              dan.j.allen Dan Allen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: