SLING-6288 : Improve jsp resource change listener to use globs

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1769862 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java b/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
index dc0ef1c..94962c2 100644
--- a/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
+++ b/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
@@ -84,11 +84,11 @@
            property = {
                    Constants.SERVICE_VENDOR + "=The Apache Software Foundation",
                    Constants.SERVICE_DESCRIPTION + "=JSP Script Handler",
-                   ResourceChangeListener.PATHS + "=/**/*.jsp",
-                   ResourceChangeListener.PATHS + "=/**/*.jspf",
-                   ResourceChangeListener.PATHS + "=/**/*.jspx",
-                   ResourceChangeListener.PATHS + "=/**/*.tld",
-                   ResourceChangeListener.PATHS + "=/**/*.tag",
+                   ResourceChangeListener.PATHS + "=glob:/**/*.jsp",
+                   ResourceChangeListener.PATHS + "=glob:/**/*.jspf",
+                   ResourceChangeListener.PATHS + "=glob:/**/*.jspx",
+                   ResourceChangeListener.PATHS + "=glob:/**/*.tld",
+                   ResourceChangeListener.PATHS + "=glob:/**/*.tag",
                    "felix.webconsole.label=slingjsp",
                    "felix.webconsole.title=JSP",
                    "felix.webconsole.category=Sling"