Help with Scalate SBT plugin in SBT 0.11.0 plugins.sbt

187 views
Skip to first unread message

Dirk Louwers

unread,
Jan 5, 2012, 1:22:20 PM1/5/12
to sca...@googlegroups.com
Hi,

I wanted to try out Scalate in my project (sbt 0.11.0, scala 2.9.1) and tried adding the following to my plugins.sbt: addSbtPlugin("org.fusesource.scalate" % "sbt-scalate-plugin" % "1.5.3") This causes SBT to try to resolve the plugin in non-existing paths where the SBT version and Scala version are both added to the path. Apparently this causes SBT to look for the jar here: http://repo1.maven.org/maven2/org/fusesource/scalate/sbt-scalate-plugin_2.9.1_0.11.0/1.5.3/sbt-scalate-plugin-1.5.3.jar

Maybe it's worth noting that I am not using a WebProject but a regular one. Hope someone can give me a nudge in the right direction to get the config right.

Best,

Dirk Louwers

Ross A. Baker

unread,
Jan 5, 2012, 2:54:40 PM1/5/12
to sca...@googlegroups.com
The sbt-scalate-plugin is for sbt-0.7. Precompilation, but not
sitegen, has been ported to sbt-0.11 in
https://github.com/mojolly/xsbt-scalate-generate.

--
Ross A. Baker
ba...@alumni.indiana.edu
Indianapolis, IN, USA

Austin Shoemaker

unread,
Aug 16, 2013, 2:58:06 AM8/16/13
to sca...@googlegroups.com
This is great to know! It took a long time to figure out why the instructions on http://scalate.fusesource.org did not work with sbt 0.12.4. Seems like xsbt-scalate-generate should be mentioned on http://scalate.fusesource.org/documentation/user-guide.html#Precompiling_templates_with_SBT.

Thanks,
Austin
Reply all
Reply to author
Forward
0 new messages