incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r587852 - in /incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting: ./ engines/ engines/rhino/ engines/velocity/
Date Wed, 24 Oct 2007 10:14:42 GMT
Author: bdelacretaz
Date: Wed Oct 24 03:14:41 2007
New Revision: 587852

URL: http://svn.apache.org/viewvc?rev=587852&view=rev
Log:
SLING-77 - move script engines to their own packages under 'engines'

Added:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/RhinoJavasSriptEngine.java
      - copied, changed from r587848, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/RhinoJavasSriptEngine.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableNode.java
      - copied, changed from r587849, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableNode.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableResource.java
      - copied, changed from r587849, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableResource.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/velocity/
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/velocity/VelocityTemplatesScriptEngine.java
      - copied, changed from r587828, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/VelocityTemplatesScriptEngine.java
Removed:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/RhinoJavasSriptEngine.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableNode.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableResource.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/VelocityTemplatesScriptEngine.java
Modified:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/SlingScriptResolver.java

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/SlingScriptResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/SlingScriptResolver.java?rev=587852&r1=587851&r2=587852&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/SlingScriptResolver.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/SlingScriptResolver.java
Wed Oct 24 03:14:41 2007
@@ -38,8 +38,8 @@
 import org.apache.sling.microsling.api.Resource;
 import org.apache.sling.microsling.api.SlingRequestContext;
 import org.apache.sling.microsling.api.exceptions.SlingException;
-import org.apache.sling.microsling.scripting.engines.RhinoJavasSriptEngine;
-import org.apache.sling.microsling.scripting.engines.VelocityTemplatesScriptEngine;
+import org.apache.sling.microsling.scripting.engines.rhino.RhinoJavasSriptEngine;
+import org.apache.sling.microsling.scripting.engines.velocity.VelocityTemplatesScriptEngine;
 import org.apache.sling.microsling.scripting.helpers.ScriptFilenameBuilder;
 import org.apache.sling.microsling.scripting.helpers.ScriptHelper;
 import org.slf4j.Logger;

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/RhinoJavasSriptEngine.java
(from r587848, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/RhinoJavasSriptEngine.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/RhinoJavasSriptEngine.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/RhinoJavasSriptEngine.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/RhinoJavasSriptEngine.java&r1=587848&r2=587852&rev=587852&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/RhinoJavasSriptEngine.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/RhinoJavasSriptEngine.java
Wed Oct 24 03:14:41 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.microsling.scripting.engines;
+package org.apache.sling.microsling.scripting.engines.rhino;
 
 import java.io.IOException;
 import java.io.Reader;
@@ -29,7 +29,7 @@
 import org.mozilla.javascript.ScriptableObject;
 
 /**
- * A SlingServlet that uses the Rhino interpreter to process Sling request with
+ * A ScriptEngine that uses the Rhino interpreter to process Sling requests with
  * server-side javascript.
  */
 public class RhinoJavasSriptEngine implements ScriptEngine {

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableNode.java
(from r587849, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableNode.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableNode.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableNode.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableNode.java&r1=587849&r2=587852&rev=587852&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableNode.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableNode.java
Wed Oct 24 03:14:41 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.microsling.scripting.engines;
+package org.apache.sling.microsling.scripting.engines.rhino;
 
 import java.util.Collection;
 import java.util.HashSet;

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableResource.java
(from r587849, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableResource.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableResource.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableResource.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableResource.java&r1=587849&r2=587852&rev=587852&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/ScriptableResource.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/rhino/ScriptableResource.java
Wed Oct 24 03:14:41 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.microsling.scripting.engines;
+package org.apache.sling.microsling.scripting.engines.rhino;
 
 import javax.jcr.Node;
 

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/velocity/VelocityTemplatesScriptEngine.java
(from r587828, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/VelocityTemplatesScriptEngine.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/velocity/VelocityTemplatesScriptEngine.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/velocity/VelocityTemplatesScriptEngine.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/VelocityTemplatesScriptEngine.java&r1=587828&r2=587852&rev=587852&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/VelocityTemplatesScriptEngine.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/engines/velocity/VelocityTemplatesScriptEngine.java
Wed Oct 24 03:14:41 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.microsling.scripting.engines;
+package org.apache.sling.microsling.scripting.engines.velocity;
 
 import java.io.IOException;
 import java.io.Reader;
@@ -32,7 +32,7 @@
 import org.apache.velocity.app.VelocityEngine;
 
 /**
- * A SlingServlet that uses Velocity templates to render a Resource in HTML.
+ * A ScriptEngine that uses Velocity templates to render a Resource
  */
 public class VelocityTemplatesScriptEngine implements ScriptEngine {
 



Mime
View raw message