You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2016/11/15 17:53:17 UTC

svn commit: r1769863 - /sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java

Author: cziegeler
Date: Tue Nov 15 17:53:17 2016
New Revision: 1769863

URL: http://svn.apache.org/viewvc?rev=1769863&view=rev
Log:
SLING-6288 : Improve jsp resource change listener to use globs

Modified:
    sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java

Modified: sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java?rev=1769863&r1=1769862&r2=1769863&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java (original)
+++ sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java Tue Nov 15 17:53:17 2016
@@ -84,11 +84,11 @@ import org.slf4j.LoggerFactory;
            property = {
                    Constants.SERVICE_VENDOR + "=The Apache Software Foundation",
                    Constants.SERVICE_DESCRIPTION + "=JSP Script Handler",
-                   ResourceChangeListener.PATHS + "=glob:/**/*.jsp",
-                   ResourceChangeListener.PATHS + "=glob:/**/*.jspf",
-                   ResourceChangeListener.PATHS + "=glob:/**/*.jspx",
-                   ResourceChangeListener.PATHS + "=glob:/**/*.tld",
-                   ResourceChangeListener.PATHS + "=glob:/**/*.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"