Convenience project including all HTL implementation bundles as git submodules
These bundles provide support for the HTL web templating language.
compiler-org.apache.sling.scripting.sightly.compilerThe 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.javaThe Apache Sling Scripting HTL Java Compiler provides support for transpiling the Abstract Syntax Tree produced by theorg.apache.sling.scripting.sightly.compilermodule into Java source code.engine-org.apache.sling.scripting.sightlyThe 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.providerThe Apache Sling HTL JavaScript Use Provider adds support for accessing JS scripts from Sightly's Use-API.repl-org.apache.sling.scripting.sightly.replA simple Read-Eval-Print-Loop environment for testing simple HTL scriptstesting-content-org.apache.sling.scripting.sightly.testing-contentA bundle containing initial content for running integration teststesting-org.apache.sling.scripting.sightly.testingThe testing project which builds a custom Sling Launchpad on which integration tests are run
Build
mvn clean installTest
mvn clean verifyPlay with HTL REPL
cd testing
mvn clean package slingstart:start -Dlaunchpad.keep.running=true -Dhttp.port=8080Then browse to http://localhost:8080/htl/repl.html.