Convenience project including all HTL implementation bundles as gits slaves
These bundles provide support for the HTL web templating language.
compiler
-org.apache.sling.scripting.sightly.compiler
The Apache Sling Scripting HTL Compiler provides support for compiling HTML Template Language scripts into an Abstract Syntax Tree.java-compiler
-org.apache.sling.scripting.sightly.compiler.java
The Apache Sling Scripting HTL Java Compiler provides support for transpiling the Abstract Syntax Tree produced by theorg.apache.sling.scripting.sightly.compiler
module into Java source code.engine
-org.apache.sling.scripting.sightly
The Apache Sling Scripting HTL Engine is a Java implementation of the HTL specification. The bundle contains the HTL engine and its plugin framework implementation.js-use-provider
-org.apache.sling.scripting.sightly.js.provider
The Apache Sling HTL JavaScript Use Provider adds support for accessing JS scripts from Sightly's Use-API.repl
-org.apache.sling.scripting.sightly.repl
A simple Read-Eval-Print-Loop environment for testing simple HTL scriptstesting-content
-org.apache.sling.scripting.sightly.testing-content
A bundle containing initial content for running integration teststesting
-org.apache.sling.scripting.sightly.testing
The testing project which builds a custom Sling Launchpad on which integration tests are run
Build
mvn clean install
Test
mvn clean verify
Play with HTL REPL
cd testing
mvn clean package slingstart:start -Dlaunchpad.keep.running=true -Dhttp.port=8080
Then browse to http://localhost:8080/htl/repl.html.