Stencil

Advanced template engine for Java

View project onGitHub

Get Stencil

Stencil is a Java based template language. Thus it requires a Java program to run in. It can be used in both server and standalone Java programs quite easily.

Since Stencil is currently under active development the easiest way to get Stencil and keep up to date is using maven... otherwise you can download a zip of the necessary jars.

Projects

Stencil is currently split into 3 projects to keep it's dependencies to the minimum.

  • engine.jar - required
  • engine-cdi.jar - optional integration with CDI
  • engine-servlet.jar - optional integration with Servlets

Maven

		<dependency>
			<groupId>com.impossibl.stencil</groupId>
			<artifactId>engine</artifactId>
			<version>0.0.1</version>
		</dependency>
	
		<dependency>
			<groupId>com.impossibl.stencil</groupId>
			<artifactId>engine-cdi</artifactId>
			<version>0.0.1</version>
		</dependency>
	
		<dependency>
			<groupId>com.impossibl.stencil</groupId>
			<artifactId>engine-servlet</artifactId>
			<version>0.0.1</version>
		</dependency>
	

Download

These release archives only include the project jars. You will need to separately download the required dependencies. To determine what the needed dependencies are go to the GitHub project and exam the associated versions pom.xml. Releases