[
https://issues.apache.org/jira/browse/JCRVLT-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515347#comment-16515347
]
Tobias Bocanegra commented on JCRVLT-305:
-----------------------------------------
hmmm, I see the problem. with the introduction of the property filters, it is
not easily possible to export just the node itself.
the filter:
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/tmp">
<include pattern="/tmp"/>
</filter>
</workspaceFilter>
{noformat}
should work as before, i.e. include the node itself and all its properties.
similar as:
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/tmp">
<exclude pattern="/tmp/.*"/>
</filter>
</workspaceFilter>
{noformat}
> DefaultWorkspaceFilter.add(nodeFilters) does not include properties
> -------------------------------------------------------------------
>
> Key: JCRVLT-305
> URL: https://issues.apache.org/jira/browse/JCRVLT-305
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Reporter: Marius Petria
> Priority: Major
>
> The add method should only add the filter set to nodeFilterSets, otherwise an
> include pattern for nodes will reject all properties.
> {code}
> public void add(PathFilterSet set) {
> nodesFilterSets.add(set);
> propsFilterSets.add(set);
> }
> {code}
> [1]
> https://github.com/apache/jackrabbit-filevault/blob/9eb53d36adfb7695a44075c72ca7ff0cedafabcc/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultWorkspaceFilter.java#L102
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)