[
https://issues.apache.org/jira/browse/SLING-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374960#comment-15374960
]
Radu Cotescu commented on SLING-5837:
-------------------------------------
{noformat}
Running org.apache.sling.api.resource.path.PathTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in
org.apache.sling.api.resource.path.PathTest
Results :
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @
org.apache.sling.api ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.607 s
[INFO] Finished at: 2016-07-13T06:10:38-07:00
[INFO] Final Memory: 27M/262M
[INFO] ------------------------------------------------------------------------
C:\workspace\projects\sling\bundles\api>ver
Microsoft Windows [Version 10.0.10240]
C:\workspace\projects\sling\bundles\api>mvn -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m;
support was removed in 8.0
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T08:41:47-08:00)
Maven home: C:\workspace\tools\apache-maven-3.3.9
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_92\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
{noformat}
> Allow ResourceChangeListeners to define glob patterns for resource matching
> ---------------------------------------------------------------------------
>
> Key: SLING-5837
> URL: https://issues.apache.org/jira/browse/SLING-5837
> Project: Sling
> Issue Type: Improvement
> Components: API
> Affects Versions: API 2.12.0
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Fix For: API 2.13.0
>
> Attachments: SLING-5837.patch
>
>
> While the previous way to interact with Resource change events through
> registering {{EventHandler}} sevices allowed defining glob patterns for
> matching the watched paths, the current state of the
> {{org.apache.sling.api.resource.observation.ResourceChangeListener}} only
> allows subscribing to events for concrete paths.
> In order to allow for the same filtering flexibility,
> {{ResourceChangeListener}} should also accept glob patterns for its
> {{resource.paths}} configuration property.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)