You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Dirk weil (JIRA)" <ji...@apache.org> on 2018/09/17 15:51:00 UTC
[jira] [Commented] (OWB-1257) Conditional exclusion of beans in
beans.xml does not honor system property
[ https://issues.apache.org/jira/browse/OWB-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617722#comment-16617722 ]
Dirk weil commented on OWB-1257:
--------------------------------
After taking a closer look the fix is very simple:
org.apache.webbeans.util.WebBeansConstants.WEB_BEANS_XML_IF_SYSTEM_PROPERTY has a superfluous blank at the end. It should read:
public static final String WEB_BEANS_XML_IF_SYSTEM_PROPERTY = "if-system-property";
> Conditional exclusion of beans in beans.xml does not honor system property
> --------------------------------------------------------------------------
>
> Key: OWB-1257
> URL: https://issues.apache.org/jira/browse/OWB-1257
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core, Lifecycle
> Affects Versions: 2.0.7
> Reporter: Dirk weil
> Priority: Major
>
> If a bean is excluded in beans.xml exclude/scan/if-system-property elements it gets ignored even if the system property referenced is not set.
> A test case is available on https://github.com/GEDOPLAN/beans-xml-scan-exclude.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)