Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

evolution-gaming/sbt-jspc-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-jspc-plugin Build Status Coverage Status Codacy Badge version License: MIT

JavaServer Pages (JSP) under sbt build. Currently Jetty8 is used a an implementation for compiler.

Keys

outputFileName - output jar file name, by default ${project_name}_jsp.jar is used.

expected path to web.xml is sourceDirectory / "main" / "webapp" / "WEB-INF" / "web.xml"

expected path to JSP is sourceDirectory / "main" / "webapp"

Installation

Create a file in your project called project/plugins.sbt with the following contents:

externalResolvers += Resolver.bintrayIvyRepo("evolutiongaming", "sbt-plugins") 
 
addSbtPlugin( "com.evolutiongaming" % "sbt-jspc-plugin" % "1.0.0")

Usage

lazy val web = 
Project("web", file("web")).enablePlugins(JspcPlugin)

then sbt web\jspc will compile JSP under