[
https://issues.jboss.org/browse/WFBUILD-25?page=com.atlassian.jira.plugin...
]
Eduardo Martins updated WFBUILD-25:
-----------------------------------
Description:
The following server-provisioning.xml example should filter the feature pack's
content, unless file path matches pattern "include.me":
{code}
<server-provisioning>
<feature-packs>
<feature-pack>
<contents include="false">
<filter pattern="include.me" include="true"/>
</contents>
</feature-pack>
</feature-packs>
</server-provisioning>
{code}
The issue is that whenever "include" attribute in <contents /> element is
set to "false" no filters are able to include content, see
https://github.com/wildfly/wildfly-build-tools/blob/master/provisioning/s...
A possible workaround for this would be to use filters with negative regex patterns, and
include set as false, but "?!" is not considered and the "?" is
replaced by ".".
was:
The following server-provisioning.xml example should filter the feature pack's
content, unless file path matches pattern "include.me":
{code}
<server-provisioning>
<feature-packs>
<feature-pack>
<contents include="false">
<filter pattern="include.me" include="true"/>
</contents>
</feature-pack>
</feature-packs>
</server-provisioning>
{code}
The issue is that whenever "include" attribute in <contents /> element is
set to "false" no filters are able to include content, see
https://github.com/wildfly/wildfly-build-tools/blob/master/provisioning/s...
A possible workaround for this would be to use filters with negative regex patterns, and
include set as false, but "?!" is not considered and the "?" is
replaced by ".".
Unable to specify feature pack's contents and modules to include
----------------------------------------------------------------
Key: WFBUILD-25
URL:
https://issues.jboss.org/browse/WFBUILD-25
Project: WildFly Build Tools
Issue Type: Bug
Reporter: Eduardo Martins
Assignee: Eduardo Martins
The following server-provisioning.xml example should filter the feature pack's
content, unless file path matches pattern "include.me":
{code}
<server-provisioning>
<feature-packs>
<feature-pack>
<contents include="false">
<filter pattern="include.me" include="true"/>
</contents>
</feature-pack>
</feature-packs>
</server-provisioning>
{code}
The issue is that whenever "include" attribute in <contents /> element is
set to "false" no filters are able to include content, see
https://github.com/wildfly/wildfly-build-tools/blob/master/provisioning/s...
A possible workaround for this would be to use filters with negative regex patterns, and
include set as false, but "?!" is not considered and the "?" is
replaced by ".".
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)