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 2008/10/15 16:05:13 UTC

svn commit: r704922 - in /incubator/sling/trunk/scripting/jsp/src/main: java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java resources/OSGI-INF/metatype/metatype.properties

Author: cziegeler
Date: Wed Oct 15 07:05:13 2008
New Revision: 704922

URL: http://svn.apache.org/viewvc?rev=704922&view=rev
Log:
Add missing description for property.

Modified:
    incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
    incubator/sling/trunk/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties

Modified: incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java?rev=704922&r1=704921&r2=704922&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java (original)
+++ incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java Wed Oct 15 07:05:13 2008
@@ -43,7 +43,6 @@
 import org.apache.sling.scripting.jsp.jasper.Options;
 import org.apache.sling.scripting.jsp.jasper.compiler.JspRuntimeContext;
 import org.apache.sling.scripting.jsp.jasper.runtime.JspApplicationContextImpl;
-import org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl;
 import org.osgi.service.component.ComponentContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -190,7 +189,7 @@
         try {
             // prepare some classes
             prepareJasperClasses();
-            
+
             ioProvider = new SlingIOProvider(repository);
 
             tldLocationsCache = new SlingTldLocationsCache(slingServletContext,
@@ -301,7 +300,7 @@
             this.repoCLProvider = null;
         }
     }
-    
+
     private void prepareJasperClasses() {
         final String propName = "org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.USE_POOL";
         final String propValue = System.getProperty(propName);
@@ -319,7 +318,7 @@
             }
         }
     }
-    
+
     // ---------- Internal -----------------------------------------------------
 
     private class JspScriptEngine extends AbstractSlingScriptEngine {

Modified: incubator/sling/trunk/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=704922&r1=704921&r2=704922&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties (original)
+++ incubator/sling/trunk/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties Wed Oct 15 07:05:13 2008
@@ -83,3 +83,7 @@
 jasper.trimSpaces.name = Trim Spaces
 jasper.trimSpaces.description = Should white spaces in template text between \
  actions or directives be trimmed ?, default false.
+
+jasper.displaySourceFragments.name = Display Source Fragments
+jasper.displaySourceFragments.description = Should we include a source fragment \
+ in exception messages, which could be displayed to the developer
\ No newline at end of file