[ 
https://issues.apache.org/jira/browse/JCRVLT-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145061#comment-17145061
 ] 

Manfred Baedke commented on JCRVLT-447:
---------------------------------------

[~tripod], [~kwin],

I tried using
{code}
                DefaultWorkspaceFilter defaultWorkspaceFilter = new 
DefaultWorkspaceFilter();
                PathFilterSet pathFilterSet = new PathFilterSet("/");
                try {
                    pathFilterSet.addExclude(new DefaultPathFilter("/.*"));
                } catch (ConfigurationException e) {
                    //should never happen
                    throw new IOException("Could not create path filter for 
pattern '/.*'", e);
                }
                defaultWorkspaceFilter.add(pathFilterSet);
{code}
which works for folders, but for leaves I don't get the content, just meta-inf. 
Any idea why? Also, of course, we'd need exactly the .content.xml, so we'd have 
to extract it from the assembled package without this patch.

> Add AbstractExporter implementation to export a single node
> -----------------------------------------------------------
>
>                 Key: JCRVLT-447
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-447
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Misc
>            Reporter: Manfred Baedke
>            Priority: Minor
>
> Sometimes it may be convenient to not export a full package, but only the 
> system view of the requested node. I propose adding a suitable 
> AbstractExporter implementation as linked below.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to