On Friday 31 March 2017 14:39:46 Andreas Schaefer Sr. wrote:
> For something else I delved into Sling Provisioning and I
> came up with a way to import Thymeleaf. Not sure if  that
> is the best way but it seems to work.
> 
> When I add a file called thymeleaf.txt to
> launchpad/builder/src/main/provisioning with that content:
> 
> [feature name=thymeleaf]
> 
> # Add the dependencies on the Model exporter
> [artifacts]
>     org.attoparser/attoparser/2.0.2.RELEASE
>     org.unbescape/unbescape/1.1.4.RELEASE
>     org.apache.servicemix.bundles/org.apache.servicemix.bundles.ognl/3.2_1
>     org.javassist/javassist/3.20.0-GA
>     org.apache.sling/org.apache.sling.scripting.thymeleaf/1.1.1-SNAPSHOT
> 
> Build and start sling (just the builder) I have thymeleaf installed and
> prepped and ready.
> 
> So I am wondering if there is a better way or if I can create my own
> provisioning models but keep them in a separate folder.

That way is totally perfect, but you can use Scripting Thymeleaf 1.1.0 of 
course.

Feel free to open an issue if you want Scripting Thymeleaf be part of 
Launchpad builder. We should provide run modes for Sightly and Thymeleaf then 
until SLING-4330 is done as both use .html extension per default which leads 
to errors when running both.

Regards,
O.

> Thanks - Andy Schaefer


Reply via email to