[
https://issues.apache.org/jira/browse/JCR-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589196#comment-15589196
]
Carsten Ziegeler commented on JCR-4044:
---------------------------------------
There is an additional problem wrt to files, usually if a listener is
interested in a change to a file it will specify the pattern like
{noformat}
/apps/**/*.html
{noformat}
This works fine for adding and removing such files, but if it is changed, it's
not the file node that changes, but the jcr:content child node, which does not
match the pattern
Are there any ideas how we could solve this on the jackrabbit/oak side?
> Support glob patterns through JackrabbitEventFilter
> ---------------------------------------------------
>
> Key: JCR-4044
> URL: https://issues.apache.org/jira/browse/JCR-4044
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: core
> Reporter: Carsten Ziegeler
>
> In the Sling project, we would like to register JCR listeners based on glob
> patterns as defined in
> https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/observation/filter/GlobbingPathFilter.html
> So basically instead (or in addition) to specifying an absolute path,
> defining patterns.
> [Discussion
> thread|https://lists.apache.org/thread.html/300f84574bbb039cebe35aab1afc21e043560a1c0471e456a2f5c0be@%3Cdev.jackrabbit.apache.org%3E]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)