[arquillian-issues] [JBoss JIRA] Commented: (ARQ-376) Environment configuration is overridden by arquillian.xml
Karel Piwko (JIRA)
jira-events at lists.jboss.org
Sat Sep 24 03:33:26 EDT 2011
[ https://issues.jboss.org/browse/ARQ-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630373#comment-12630373 ]
Karel Piwko commented on ARQ-376:
---------------------------------
ARQ-148 implementation allows user to set any property via reasonable default. However, this does not work for environment variables but for properties only.
Suppose following:
{code:xml}
<configuration>
...
<property name="foo" value="${foo:bar}"/>
<property name="env_foo" value "${ENV_FOO:bor}" />
</configuration>
{code}
If a System property foovalue is defined (via Surefire plugin properties <foo>value</foo>), it will make foo to have value "value", if not it will be bar.
However, if ENV_FOO environment variable is defined, it has no effect, since Arquillian interpolates system properties only.
> Environment configuration is overridden by arquillian.xml
> ---------------------------------------------------------
>
> Key: ARQ-376
> URL: https://issues.jboss.org/browse/ARQ-376
> Project: Arquillian
> Issue Type: Bug
> Components: Configuration, JBoss Containers
> Affects Versions: 1.0.0.Beta1
> Reporter: Karel Piwko
> Assignee: Karel Piwko
> Priority: Blocker
>
> It is not possible to define JAVA_HOME and JBOSS_HOME for managed containers via system properties because these values are used only during configuration creation and they will be overridden by arquillian.xml value.
> This is not desired behaviour how to make test execution flexible enough.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list