incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r791507 - in /sling/trunk/bundles/scripting/jsp/src/main: java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java resources/OSGI-INF/metatype/metatype.properties
Date Mon, 06 Jul 2009 15:03:05 GMT
Author: cziegeler
Date: Mon Jul  6 15:03:04 2009
New Revision: 791507

URL: http://svn.apache.org/viewvc?rev=791507&view=rev
Log:
SLING-1029 : Enable development mode again, remove unused reload property, change property
order and clarify properties a little bit.

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

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=791507&r1=791506&r2=791507&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
Mon Jul  6 15:03:04 2009
@@ -54,19 +54,18 @@
  * @scr.component label="%jsphandler.name" description="%jsphandler.description"
  * @scr.property name="service.description" value="JSP Script Handler"
  * @scr.property name="service.vendor" value="The Apache Software Foundation" *
- * @scr.property name="jasper.checkInterval" value="300" type="Integer"
- * @scr.property name="jasper.classdebuginfo" value="true" type="Boolean"
  * @scr.property name="jasper.development" value="false" type="Boolean"
+ * @scr.property name="jasper.modificationTestInterval" value="4" type="Integer"
+ * @scr.property name="jasper.classdebuginfo" value="true" type="Boolean"
  * @scr.property name="jasper.enablePooling" value="true" type="Boolean"
  * @scr.property name="jasper.ieClassId"
  *               value="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
  * @scr.property name="jasper.genStringAsCharArray" value="false" type="Boolean"
  * @scr.property name="jasper.keepgenerated" value="true" type="Boolean"
  * @scr.property name="jasper.mappedfile" value="true" type="Boolean"
- * @scr.property name="jasper.modificationTestInterval" value="4" type="Integer"
- * @scr.property name="jasper.reloading" value="false" type="Boolean"
  * @scr.property name="jasper.scratchdir" value="/var/classes"
  * @scr.property name="jasper.trimSpaces" value="false" type="Boolean"
+ * @scr.property name="jasper.checkInterval" value="300" type="Integer"
  * @scr.property name="jasper.displaySourceFragments" value="true"
  *               type="Boolean"
  * @scr.service

Modified: sling/trunk/bundles/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=791507&r1=791506&r2=791507&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties
(original)
+++ sling/trunk/bundles/scripting/jsp/src/main/resources/OSGI-INF/metatype/metatype.properties
Mon Jul  6 15:03:04 2009
@@ -34,7 +34,8 @@
 jasper.checkInterval.name = Compilation Check Interval
 jasper.checkInterval.description = If development is false and reloading is \
  true, background compiles are enabled. checkInterval is the time in seconds \
- between checks to see if a JSP page needs to be recompiled. Default 300 seconds.
+ between checks to see if a JSP page needs to be recompiled. Default 300 seconds. \
+ Currently this feature is not implemented in Apache Sling!
  
 jasper.classdebuginfo.name = Generate Debug Info
 jasper.classdebuginfo.description = Should the class file be compiled with \
@@ -42,7 +43,9 @@
  
 jasper.development.name = Development Mode
 jasper.development.description = Is Jasper used in development mode (will check \
- for JSP modification on every access)? true or false, default false.
+ for JSP modification on every access)? true or false, default false. \
+ If development mode is turned off, a jsp is only compiled once and never \
+ checked again - even if the generated class file will be removed!
  
 jasper.enablePooling.name = Tag Pooling
 jasper.enablePooling.description = Determines whether tag handler pooling is \
@@ -69,11 +72,8 @@
 jasper.modificationTestInterval.description = Checks for modification for a \
  given JSP file (and all its dependent files) will be performed only once every \
  specified amount of seconds. Setting this to 0 will cause the JSP to be checked \
- on every access. Default is 4 seconds.
- 
-jasper.reloading.name = Check Modified JSPs
-jasper.reloading.description = Should Jasper check for modified JSPs? true or \
- false, default false.
+ on every access. Default is 4 seconds. This parameter has only an effect if \
+ developement mode is turned on.
  
 jasper.scratchdir.name = Compilation Location
 jasper.scratchdir.description = What scratch directory should we use when \



Mime
View raw message